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