import type * as Y from 'yjs'; import { type WorkOfficePdfRecordCollectionRoots } from './office-pdf-collaboration-records'; import type { WorkPdfCollaborationContent } from './office-pdf-collaboration-types'; export { validateWorkOfficePdfCollaborationContent } from './office-pdf-collaboration-validation'; export declare const PDF_SOURCE_ROOT = "pdf.source"; export declare const PDF_SOURCE_IDENTITIES_ROOT = "pdf.source-identities"; export declare const PDF_RECORD_CLAIMS_ROOT = "pdf.record-claims"; export interface WorkOfficePdfRoots { source: Y.Map; sourceIdentities: Y.Array; annotations: WorkOfficePdfRecordCollectionRoots; formValues: WorkOfficePdfRecordCollectionRoots; signaturePlacements: WorkOfficePdfRecordCollectionRoots; redactionProposals: WorkOfficePdfRecordCollectionRoots; pageOperations: WorkOfficePdfRecordCollectionRoots; reviewDecisions: WorkOfficePdfRecordCollectionRoots; recordClaims: Y.Array; } export declare function workOfficePdfRoots(document: Y.Doc, rootName: (suffix: string) => string): WorkOfficePdfRoots; export declare function initializeWorkOfficePdfRoots(roots: WorkOfficePdfRoots, content: WorkPdfCollaborationContent): void; export declare function readWorkOfficePdfRoots(roots: WorkOfficePdfRoots): WorkPdfCollaborationContent; export declare function patchWorkOfficePdfRoots(roots: WorkOfficePdfRoots, previous: WorkPdfCollaborationContent, next: WorkPdfCollaborationContent): void; export declare function assertWorkOfficePdfRootsEmpty(roots: WorkOfficePdfRoots): void; export declare function workOfficePdfUndoScope(roots: WorkOfficePdfRoots): Array | Y.Array>; export declare function workOfficePdfIrreversibleScope(roots: WorkOfficePdfRoots): Array | Y.Array>; export declare function workOfficePdfIrreversibleChange(roots: WorkOfficePdfRoots, transaction: Y.Transaction): boolean;