import { AiConfigurationSearchItem } from '@theia/ai-core-ui/lib/browser/ai-configuration/ai-configuration-category'; /** * Pure matching helpers for the tree-level (deep) search. Kept free of any DOM * or DI dependency so the tree filter can reuse it and it can be unit-tested in * isolation. * * Match semantics: every whitespace-separated term of the query must appear in * the item's match key (`label + keywords + typeLabel`, lower-cased). */ export declare namespace AiConfigurationSearch { /** The lower-cased text a search item is matched against. */ function matchKey(item: AiConfigurationSearchItem): string; /** Splits a query into lower-cased, non-empty terms. */ function terms(query: string): string[]; /** Returns whether every term is present in `key`. */ function matchesTerms(key: string, searchTerms: string[]): boolean; } //# sourceMappingURL=ai-configuration-search.d.ts.map