import { Selection as ProseMirrorSelection } from 'prosemirror-state'; import { ReactEditorView } from '../../../hooks/useEditor'; export declare function getProseMirrorRange(editor: ReactEditorView, domRange: Range | StaticRange | Selection): { anchor: number; head: number; }; export declare function toProseMirrorSelection(editorView: ReactEditorView, range: Range | StaticRange | Selection): ProseMirrorSelection; export declare const useSelectionChange: (editorView: ReactEditorView) => void; //# sourceMappingURL=use-selection-change.d.ts.map