export interface HumanizeContext {
    fieldLabels: Record<string, string>;
    fieldDefaults: Record<string, string>;
}
export interface HumanizeOptions {
    publicFieldMetadataPath?: string;
    templateSpecsDir?: string;
}
export declare function loadHumanizeContext(templateDir: string, opts?: HumanizeOptions): HumanizeContext;
export declare function prettifyTemplateXml(text: string, fieldLabels: Record<string, string>, fieldDefaults: Record<string, string>, 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<Buffer>;
//# sourceMappingURL=humanize-docx.d.ts.map