import type { Block, DocumentModel, TextRun } from './model.js'; /** Range keys a run belongs to: `comment:` and, for moved text, `moveFrom:`/`moveTo:`. */ export declare function rangeKeys(run: TextRun): string[]; /** Range keys on a paragraph that started in an earlier paragraph or continue into a later one. */ export interface CommentContinuation { before: Set; after: Set; } /** Per paragraph id, the comment and move ranges crossing its start or end, in document order. */ export declare function commentContinuations(blocks: Block[]): Map; /** A comparable form, to tell when a paragraph's range boundaries changed without its content. */ export declare function continuationKey(continuation: CommentContinuation | undefined): string; /** * Word requires decimal comment ids (`ST_DecimalNumber`). Editors mint readable ids such as * `dve-comment-…`; this renumbers those (and duplicates) to unused decimals everywhere they appear: * the comment list, reply parents and run anchors. Returns the model unchanged when all are valid. */ export declare function numberCommentIds(model: DocumentModel): DocumentModel; //# sourceMappingURL=comment-spans.d.ts.map