import { default as default_2 } from 'react'; export declare interface Annotation { page: number; type: AnnotationType; x?: number; y?: number; width?: number; height?: number; content?: string; points?: AnnotationPoint[]; color?: string; strokeWidth?: number; strokeColor?: string; fillColor?: string; fillOpacity?: number; rotation?: number; opacity?: number; id?: string; imageUrl?: string; imageData?: Uint8Array; imageMimeType?: string; signatureData?: string; digitalSignature?: DigitalSignatureMeta; shapeType?: ShapeType; } export declare interface AnnotationPoint { x: number; y: number; } export declare type AnnotationType = "highlight" | "text" | "pen" | "image" | "signature" | "shape"; export declare const DEFAULT_SIGNATURE_ICON_SVG = ""; export declare interface DigitalSignatureMeta { signerName: string; signerTitle?: string; signerDepartment?: string; signedAt: string; /** Resolved icon source (SVG markup, data URL, or image URL) */ iconSvg?: string; } export declare function ensureEditorStyles(): void; export declare const PdfEditor: default_2.FC; export declare interface PdfEditorProps { fileUrl: string; onSave?: (file: File) => void; shouldExport?: boolean; onExportComplete?: () => void; /** URL (or data URL) of the user's saved signature image */ signatureUrl?: string | null; hasSavedSignature?: boolean; /** Called when the user saves a newly drawn signature as PNG */ onSaveSignature?: (png: Blob, password: string) => void; /** Called when the user clicks Delete in the signature options modal */ onDeleteSignature?: (password: string) => void; onUnlockSignature?: (password: string) => Promise; /** Display name in the digital signature block below placed signatures */ signerName?: string; /** Job title shown in the digital signature block */ signerTitle?: string; /** Department shown in the digital signature block */ signerDepartment?: string; /** SVG markup, data URL, or image URL for the digital signature status icon */ signatureIconSvg?: string; /** Diagonal text watermark shown on every page in the editor preview only (not exported) */ watermark?: WatermarkConfig; } export declare type ShapeType = "rectangle" | "ellipse" | "circle" | "line" | "arrow"; export declare interface WatermarkConfig { /** Watermark text shown on every page */ text: string; /** 0–1, default 0.12 */ opacity?: number; /** CSS color, default #888888 */ color?: string; /** Font size in px/pt; auto-scales from page width if omitted */ fontSize?: number; /** CSS font family, default Arial, sans-serif */ fontFamily?: string; /** CSS font weight, default bold */ fontWeight?: WatermarkFontWeight; /** Rotation in degrees, default -45 */ rotation?: number; } export declare type WatermarkFontWeight = number | "normal" | "bold" | "lighter" | "bolder"; export { }