import { Editor, NodeEntry, Path, Range } from 'slate'; import { EditorStore } from '../store'; export declare const cacheTextNode: WeakMap; export declare const clearInlineKatex: (editor: Editor) => void; export declare function useHighlight(store?: EditorStore): ([node, path]: NodeEntry) => Range[];