import type { PurchaseOrderPrintTemplateData } from '../types/print-data'; /** * Render a print template with data. * * For each block: * - If config.templateHtml exists (saved/predefined template), use it directly * - Otherwise fall back to BLOCK_DEFINITIONS[tag].template (backward compat for old templates) * * Config values come from config.configFields (new) or are merged from * BLOCK_DEFINITIONS defaultConfig (old backward compat). */ export declare function renderTemplate(blocks: FdoPrintTemplateBlock[], data: PurchaseOrderPrintTemplateData): string; /** * Render for the print preview (full page). * Wraps in a basic HTML document structure. */ export declare function renderTemplateForPrint(blocks: FdoPrintTemplateBlock[], data: PurchaseOrderPrintTemplateData): string;