import { Editor, Location, Point } from 'slate'; export interface GetPointFromLocationOptions { /** * @default editor.selection */ at?: Location | null; /** * @default 'focus' */ pointTypeOfRange?: 'anchor' | 'focus'; } /** * Get the point from a location. * * If the location is a range, get the anchor point. * * If the location is a path, get the point at this path with offset 0. */ export declare function getPointFromLocation(editor: Editor, options?: GetPointFromLocationOptions): Point | undefined;