23 lines
718 B
TypeScript
23 lines
718 B
TypeScript
import { Dictionary, SegmentEntry, ElementEntry } from "./validator";
|
|
import { Separators } from "./edi/separators";
|
|
export declare type ResultType = {
|
|
name: string;
|
|
elements: string[][];
|
|
};
|
|
export declare class Reader {
|
|
private result;
|
|
private elements;
|
|
private components;
|
|
private validator;
|
|
private parser;
|
|
private defined;
|
|
private validationTables;
|
|
private definitionCache;
|
|
private unbCharsetDefined;
|
|
separators: Separators;
|
|
constructor(messageSpecDir?: string);
|
|
define(definitions: (Dictionary<SegmentEntry> | Dictionary<ElementEntry>)): void;
|
|
private initializeIfNeeded;
|
|
parse(document: string): ResultType[];
|
|
}
|
|
//# sourceMappingURL=reader.d.ts.map
|