import { Ancestor, Editor, NodeEntry } from 'slate'; import { EditorAboveOptions } from '../typings/editor'; export declare type GetAboveByTypesOptions = EditorAboveOptions; /** * Get the element above a location by types. */ export declare function getAboveByTypes(editor: Editor, types: string[], options?: GetAboveByTypesOptions): NodeEntry | undefined;