import { EditorAboveOptions } from "slate/dist/interfaces/editor"; import { ENodeMatchOptions } from "../../queries/match"; import { Modify } from "../../types/misc/types"; import { TAncestor } from "../node/TAncestor"; import { TNodeEntry } from "../node/TNodeEntry"; import { TEditor, Value } from "./TEditor"; export type GetAboveNodeOptions = Modify>, ENodeMatchOptions>; /** * Get the ancestor above a location in the document. */ export declare const getAboveNode: >, V extends Value = Value>(editor: TEditor, options?: GetAboveNodeOptions | undefined) => TNodeEntry | undefined; //# sourceMappingURL=getAboveNode.d.ts.map