import type { SlateEditor } from '@udecode/plate-common'; import type { Point } from 'slate'; import { Path, Range, Span } from 'slate'; /** * Get the cursor position for the given location. * Always returns null for expanded selections (Range, Span). */ export declare function getCursorPosition(editor: SlateEditor, at: Range | Point | Span | Path | null): Point | null;