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 | Dictionary)): void; private initializeIfNeeded; parse(document: string): ResultType[]; } //# sourceMappingURL=reader.d.ts.map