import type { InventoryLocation } from '@/stores/location'; import type { FmpBusiness } from 'node_modules/@feedmepos/mf-common/dist/store'; interface PrintPoArgs { po: FdoPurchaseOrder; currentLocation: InventoryLocation; business?: FmpBusiness; fulfilling?: boolean; por?: FdoPurchaseOrderRequest; } /** * @deprecated Use the legacy printPo from @/views/receive-request/helper/print-po instead. * This function was removed to maintain isolation between Print and Print Beta. */ export interface CustomPrintResult { html: string; templateName: string; isDefault: boolean; } /** * Build and return the rendered custom-template HTML for a PO. * Returns the HTML string + template name for rendering in a preview dialog. * Falls back to predefined template if no saved template exists. */ export declare function buildCustomPrintHtml(args: PrintPoArgs): CustomPrintResult | null; export {};