import * as Y from 'yjs'; import type { WorkDocumentComment } from '../features/work/work-types'; export declare function validatedWorkOfficeDocumentComments(value: unknown): WorkDocumentComment[]; export declare function initializeWorkOfficeDocumentComments(records: Y.Map, order: Y.Array, comments: WorkDocumentComment[]): void; export declare function readWorkOfficeDocumentComments(records: Y.Map, order: Y.Array): WorkDocumentComment[]; export declare function patchWorkOfficeDocumentComments(records: Y.Map, order: Y.Array, previous: WorkDocumentComment[], next: WorkDocumentComment[]): void; export declare function assertWorkOfficeDocumentCommentConflicts(previous: WorkDocumentComment[], next: WorkDocumentComment[], shared: WorkDocumentComment[]): void;