export interface ElectronPrintToPDFOptions {
    pageSize: {
        width: number;
        height: number;
    };
    marginsType: 0;
    printBackground: boolean;
    preferCSSPageSize?: boolean;
}
export declare const BOOK_6X9_PRINT_OPTIONS: ElectronPrintToPDFOptions;
export interface PdfRenderResult {
    pdfBuffer: Buffer;
    pageCount: number;
    widthMm: number;
    heightMm: number;
}
/**
 * Renders HTML string to PDF buffer using Electron webContents printToPDF API.
 */
export declare function renderHtmlTo6x9Pdf(htmlContent: string, cssStyles: string, electronWebContentsPrintToPDF: (options: ElectronPrintToPDFOptions) => Promise<Buffer>): Promise<Buffer>;
//# sourceMappingURL=renderer.d.ts.map