import { Node as ProseMirrorNode } from 'prosemirror-model';
export type CommentPosition = {
    threadId: string;
    key: string;
    storyKey: string;
    kind: 'trackedChange' | 'comment';
    start: number;
    end: number;
};
export interface CollectCommentPositionsOptions {
    commentMarkName: string;
    trackChangeMarkNames: string[];
    storyKey?: string;
}
export declare function collectCommentPositions(doc: ProseMirrorNode | null, options: CollectCommentPositionsOptions): Record<string, CommentPosition>;
//# sourceMappingURL=CommentPositionCollection.d.ts.map