import type { PdfAnnotation, PdfAnnotationPersistence } from "./pdf-annotation-types.js"; import type { PdfRedaction } from "./pdf-redaction.js"; export type PdfAnnotationSessionOptions = { overlay: HTMLElement; pagesTrack: HTMLElement; pagesRoot: HTMLElement; toolbarParent: HTMLElement; documentId: string; /** Show draft / approved / rejected badge and review-state menu (default true). */ showReviewBadge?: boolean; persistence?: PdfAnnotationPersistence; onChange?: (annotations: PdfAnnotation[]) => void; getRedactions?: () => PdfRedaction[]; setRedactions?: (redactions: PdfRedaction[]) => void; }; export type PdfAnnotationSession = { getAnnotations: () => PdfAnnotation[]; recordHistory: () => void; rebindOverlay: (overlay: HTMLElement) => void; destroy: () => void; }; export declare function attachPdfAnnotationToolbar(options: PdfAnnotationSessionOptions): PdfAnnotationSession; //# sourceMappingURL=pdf-annotations.d.ts.map