import { Editor, Location } from 'slate'; import { EditorUnhangRangeOptions } from '../typings/editor'; export interface UnhangRangeOptions extends EditorUnhangRangeOptions { at?: Location; /** * @default false */ hanging?: boolean; } /** * Call {@link Editor.unhangRange} if `unhang` is true and if `at` (default: selection) is a range. * Assign returned `Range` to `options.at` after callced. */ export declare function unhangRange(editor: Editor, options?: UnhangRangeOptions): void;