import type { Node, Path } from 'slate'; import { ReactEditor } from 'slate-react'; interface FindElementPathOptions { cachedPath?: Path | null; /** Accept the current immutable version of the same logical Slate node. */ matchKey?: boolean; /** Event callbacks can run before React has refreshed node-to-path maps. */ search?: boolean; } /** Slate's DOM maps can retain paths for removed nodes; verify the model too. */ export declare function findElementPath(editor: ReactEditor, element: Node, { cachedPath, matchKey, search }?: FindElementPathOptions): Path | undefined; export {};