import type { PdfConfig, PdfFormat, PdfMargin, PdfOrientation } from "../types.js"; export interface RenderPdfOptions { htmlPath: string; pdfPath: string; format: PdfFormat; orientation: PdfOrientation; width?: number; height?: number; viewport?: { width: number; height: number; }; margin: Required; printBackground: boolean; allowRemoteAssets: boolean; waitUntil: "load" | "networkidle"; } export interface RenderPdfResult { pdfPath: string; bytes: number; } export declare function renderPdf(config: PdfConfig, opts: RenderPdfOptions): Promise; export declare function renderPreview(config: PdfConfig, htmlPath: string, previewPath: string, allowRemoteAssets: boolean, orientation?: PdfOrientation): Promise<{ previewPath: string; bytes: number; }>; //# sourceMappingURL=renderer.d.ts.map