import type { RelativeDrawPath, RelativeRect } from "./pdf-overlay-bake.js"; export type RelativeSignature = RelativeRect & { imageDataUrl: string; }; export type PdfOverlayExport = { highlightsByPage: Map; redactionsByPage: Map; drawsByPage: Map; signaturesByPage: Map; }; export type AnnotatedPdfExportOptions = { password?: string; onProgress?: (page: number, total: number) => void; }; /** Burn highlights, redactions, drawings, and signatures into PDF bytes. * * Pages with redactions are rasterized to PNG via PDF.js and rebuilt as * image-only pages so the underlying text content stream is eliminated. * Other overlays (highlights, draws, signatures) are applied on top. * Falls back to visual-only black rectangles when canvas is unavailable. */ export declare function exportAnnotatedPdfBytes(source: ArrayBuffer, overlays: PdfOverlayExport, options?: AnnotatedPdfExportOptions): Promise; //# sourceMappingURL=pdf-annotated-export.d.ts.map