import type { PdfAnnotation } from "./pdf-annotation-types.js"; import { type DocumentReviewState, type PdfCollaborationDocument } from "./pdf-collaboration-types.js"; export declare function newCommentId(): string; export declare function newNoteId(): string; export declare function newHighlightId(): string; /** Assign ids and thread arrays on notes and highlights (collaboration v2). */ export declare function ensureThreadableAnnotations(annotations: PdfAnnotation[]): PdfAnnotation[]; /** @deprecated Use ensureThreadableAnnotations */ export declare function ensureNoteIds(annotations: PdfAnnotation[]): PdfAnnotation[]; export declare function buildCollaborationDocument(documentId: string, annotations: PdfAnnotation[], reviewState?: DocumentReviewState, updatedBy?: string): PdfCollaborationDocument; export declare function parseCollaborationDocument(raw: unknown, documentId: string): PdfCollaborationDocument | null; export declare function normalizeReviewState(value: unknown): DocumentReviewState; export declare function exportCollaborationJson(doc: PdfCollaborationDocument): string; export declare function loadCollaborationFromLocalStorage(key: string): PdfCollaborationDocument | null; export declare function saveCollaborationToLocalStorage(key: string, doc: PdfCollaborationDocument): void; //# sourceMappingURL=pdf-collaboration-store.d.ts.map