Files
vda-to-edifact-converter/node_modules/ts-edifact/lib/reader.d.ts
2026-03-13 09:53:40 +01:00

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