import { SvelteMap } from 'svelte/reactivity'; import type { SearchTerm } from './util/search.js'; export declare function initValueCache(): SvelteMap; export declare function useValueCache(): SvelteMap; export declare function getPreviewLevel(): number; type SearchContext = () => { searching: boolean; matchingPaths: string[]; query: string; terms: SearchTerm[]; }; export declare function setSearchContext(value: SearchContext): SearchContext; export declare function useSearchContext(): SearchContext; export declare function setIsKey(): boolean; export declare function getIsKey(): boolean; type OnDestroyCallback = () => void; type AddDestroyCallback = (cb: OnDestroyCallback) => void; export declare function setAddDestroyCallback(cb: AddDestroyCallback): AddDestroyCallback; export declare function getAddDestroyCallbackFn(): AddDestroyCallback; export {};