export type HtmlStringToPdfOptions = {
    /** Use measured viewport as PDF paper size (inches) + scale 1 — for wide attendance grids. */
    useContentPaperSize?: boolean;
    /**
     * When true with `useContentPaperSize`, use fixed page height (A4 short edge) so Chromium emits
     * multiple PDF pages at `page-break-before` between `.sheet` blocks.
     */
    contentPaged?: boolean;
    /**
     * With `useContentPaperSize`, set exact PDF media box in inches (e.g. O&amp;M 10-year bill landscape).
     * When omitted, width/height are derived from measured viewport (+ margins) as before.
     */
    paperSizeInches?: {
        width: number;
        height: number;
    };
    /**
     * Chlorination: **ISO A4 portrait** (`format: A4`, `landscape: false`, `scale: 1`), viewport = 210mm CSS width,
     * height from `.chlorination-root` / `.page` only. Do not combine with `useContentPaperSize`.
     */
    useChlorinationA4Portrait?: boolean;
    /** Wait for `document.fonts.ready` after HTML load (Devanagari certificate PDFs). */
    awaitDocumentFonts?: boolean;
};
/**
 * Render HTML string to a PDF in memory (Chromium via Puppeteer).
 * Set PUPPETEER_EXECUTABLE_PATH in production if Chrome is not on default path.
 */
export declare function htmlStringToPdfBuffer(htmlContent: string, options?: HtmlStringToPdfOptions): Promise<Buffer>;
/**
 * Render HTML string to a PDF on disk (Chromium via Puppeteer).
 * Set PUPPETEER_EXECUTABLE_PATH in production if Chrome is not on default path.
 */
export declare function writeHtmlStringToPdf(htmlContent: string, absolutePdfPath: string): Promise<void>;
//# sourceMappingURL=invoicePdf.service.d.ts.map