import { SuperDoc } from '../core/types/index.js'; type V2TrackedChangeMutationImpact = { upsertIds: Set; removedIds: Set; remappedPairs: Array<{ from: string; to: string; }>; reconcileMode: 'targeted'; allResolved?: Record; }; type CommentInvalidationResult = { ok: boolean; removedIds: string[]; }; type CommentInvalidationStore = { dropCommentsFromMutationImpact?: (input: { superdoc: SuperDoc | null | undefined; documentId: string | null | undefined; removedIds: Set; }) => CommentInvalidationResult | null | undefined; }; type CommentInvalidationInput = { event?: unknown; commentsStore?: CommentInvalidationStore | null; superdoc?: SuperDoc | null; documentId?: string | null; }; export declare function mutationCommittedEventChangedVisibleContent(event: Record): boolean; export declare function mutationCommittedEventChangedDocument(event: Record): boolean; /** * Classify the tracked-change identities carried by a v2 mutation event. * * Receipt entities are the durable invalidation contract between the document * kernel and derived review UI. Direct receipts carry entity refs; mutation * plans carry the same identities through `trackedChanges` and per-step ids. */ export declare function getV2TrackedChangeMutationImpact(event: unknown): V2TrackedChangeMutationImpact | null; /** * Comment ids retired by a committed v2 mutation. */ export declare function collectV2InvalidatedCommentIds(event: unknown): Set; export declare function applyV2CommentInvalidationFromMutation({ event, commentsStore, superdoc, documentId, }?: CommentInvalidationInput): CommentInvalidationResult; export {};