import { Browser, BrowserContext } from 'playwright-core'; export interface PdfOptions { html: string; outputPath: string; format?: 'A4' | 'Letter' | 'Legal'; margin?: string; marginTop?: string; marginBottom?: string; displayHeaderFooter?: boolean; headerTemplate?: string; footerTemplate?: string; browser?: Browser; /** Reuse an existing BrowserContext across calls (watch/recursive mode). */ sharedContext?: BrowserContext; registry?: import('../plugins/registry.js').PluginRegistry; renderContext?: import('../types/context.js').RenderContext; offline?: boolean; } export declare function generatePdf(options: PdfOptions): Promise;