import { Editor, Location, Range } from 'slate'; import { GetPointBeforeOptions } from './getPointBefore'; export declare type GetRangeBeforeOptions = GetPointBeforeOptions; /** * Get range from {@link getPointBefore} to the end point of `at`. */ export declare function getRangeBefore(editor: Editor, at: Location, options?: GetRangeBeforeOptions): Range | undefined;