import { Tag } from './compilation'; import { ContentPartType } from './office'; import { TemplateData } from './templateData'; import { TemplateHandlerOptions } from './templateHandlerOptions'; import { Binary } from './utils'; import { XmlNode } from './xml'; export declare class TemplateHandler { readonly version: string; private readonly xmlParser; private readonly docxParser; private readonly compiler; private readonly options; constructor(options?: TemplateHandlerOptions); process(templateFile: T, data: TemplateData): Promise; parseTags(templateFile: Binary, contentPart?: ContentPartType): Promise; getText(docxFile: Binary, contentPart?: ContentPartType): Promise; getXml(docxFile: Binary, contentPart?: ContentPartType): Promise; private callExtensions; private loadDocx; }