import type { InspectOptions } from '../options.svelte.js'; type SearchNode = { path: string; key: string; tokens?: string[]; type: string; }; export type SearchIndex = SearchNode[]; export declare const stringifyPath: (path: unknown[]) => string; type BuildSearchIndexArgs = { value: unknown; key?: unknown; prevPath?: unknown[]; maxDepth?: number; depth?: number; visited?: WeakSet; descriptor?: PropertyDescriptor; index?: SearchIndex; options: InspectOptions; }; export declare const buildSearchIndex: (indexArgs: BuildSearchIndexArgs) => SearchIndex; export declare const build_search_index: (indexArgs: BuildSearchIndexArgs) => SearchIndex; export declare function clearSearchCache(): void; export declare function searchStructuredIndex(index: SearchNode[], searchString: string, mode?: 'and' | 'or'): string[]; export type SearchTerm = { field: 'value' | 'path' | 'key' | 'type' | 'any'; value: string; exact: boolean; }; export declare function parseSearchTerms(input: string, lowercase?: boolean): SearchTerm[]; export declare function getAncestorPaths(path: string): string[]; export {};