import { Plugin } from "prosemirror-state"; import { DecorationSet } from "prosemirror-view"; import type { EditorState, Transaction } from "prosemirror-state"; export declare const getSelectionUpdate: (state: EditorState) => false | { anchor: number; head: number; }; export declare const updateCollaboratorSelection: (state: EditorState, collaborator: { id: number; name: string; }, data: { session_id: string; anchor: number; head: number; }) => Transaction; export declare const removeCollaboratorSelection: (state: EditorState, data: { session_id: string; }) => Transaction | false; export declare const collabCaretsPlugin: (_options: { editor: unknown; }) => Plugin<{ caretPositions: never[]; decos: DecorationSet; caretUpdate: boolean; }>; //# sourceMappingURL=collab_carets.d.ts.map