import { Ancestor, Editor, NodeEntry } from 'slate'; import { EditorAboveOptions } from '../typings/editor'; export declare type GetAboveBlockOptions = EditorAboveOptions; /** * Get the block above a location. * If not found, return the editor entry. */ export declare function getAboveBlock(editor: Editor, options?: GetAboveBlockOptions): NodeEntry;