/**
 * Generates a PDF with the watermark text baked into every page.
 * If no watermark config is provided the original PDF bytes are returned as-is.
 */
export declare function generateWatermarkedPdf(src: NonNullable<PDFViewerProps["src"]>, watermark?: WatermarkConfig | string): Promise<Uint8Array>;
export interface WatermarkConfig {
    text: string;
    /** CSS color string — default: "rgba(0,0,0,0.12)" */
    color?: string;
    /** Font size in px at scale=1 — default: 28 */
    fontSize?: number;
    /** Rotation angle in degrees — default: -35 */
    angle?: number;
    /** Horizontal gap between repeated labels in px — default: 80 */
    gap?: number;
    /** Font family — default: "sans-serif" */
    fontFamily?: string;
    /** Font weight — default: "600" */
    fontWeight?: string;
}
export interface PDFViewerProps {
    src?: string | ArrayBuffer | URL | Blob | File;
    /** Pass a string for a quick watermark, or a WatermarkConfig for full control. */
    watermark?: string | WatermarkConfig;
    print?: boolean;
    download?: boolean;
    /** Show the thumbnail sidebar (default: true) */
    sidebar?: boolean;
    defaultSidebarOpen?: boolean;
}
export declare function PDFViewer({ src, watermark, print, download, sidebar, defaultSidebarOpen, }: PDFViewerProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=PdfViewer.d.ts.map