export interface HumanizeContext { fieldLabels: Record; fieldDefaults: Record; } export interface HumanizeOptions { publicFieldMetadataPath?: string; templateSpecsDir?: string; } export declare function loadHumanizeContext(templateDir: string, opts?: HumanizeOptions): HumanizeContext; export declare function prettifyTemplateXml(text: string, fieldLabels: Record, fieldDefaults: Record, options?: { highlight?: boolean; }): string; export declare function humanizeDocxBuffer(input: Buffer, ctx: HumanizeContext): Buffer; /** * Public API. Reads template.docx from `templateDir`, applies the same humanize * transform that dev-website's `generate_template_downloads.js` applies, and * returns the resulting Buffer. The buffer is suitable for rasterizing into a * catalog preview PNG that matches what users download. */ export declare function humanizeDocx(templateDir: string, opts?: HumanizeOptions): Promise; //# sourceMappingURL=humanize-docx.d.ts.map