import { XMLData, SimplifiedDuisOutputRequest, ServiceReferenceVariant } from '@smartdcc/duis-parser'; export interface Template { fileName: string; normal: XMLData; simplified: SimplifiedDuisOutputRequest; serviceReferenceVariant: ServiceReferenceVariant; gbcs?: string; gbcsVariant?: string; gbcsTitle?: string; info?: string; } export declare function parseFileTag(tag: string): RegExpMatchArray | null; export interface GBCSRecord { 'Use Case Name': string; 'Use Case Title': string; 'Message Type': string; 'Use Case Description': string; 'Remote Party or HAN Message': string | null; 'Service Reference': string | null; } export declare function lookupGBCS(code: string): GBCSRecord | undefined; export declare function loadTemplate(logger: (msg: string) => void, fileName: string): Promise<[string, Template] | null>; export interface LoadTemplateOptions { /** * directory to scan for RTDS files, if not provided use internal RTDS files. */ path?: string; /** * optional logging interface * @param msg text to log */ logger?(msg: string): void; } export type TemplateDirectory = Record; export declare function loadTemplates(options: LoadTemplateOptions): Promise; //# sourceMappingURL=load.d.ts.map