import { IMatch } from "../../../../base/common/filters.js"; /** * The single matcher for every Customizations search surface (list pages, * Browse, Plugins, MCP servers, Tools, Copilot customizations). Do not add * ad-hoc `toLowerCase().includes()` filters; use this so that `-`, `_`, `.`, * `/` and whitespace are interchangeable word separators everywhere. * * Matching is case-insensitive. A contiguous substring match is preferred * (`chrome` in `Chrome DevTools MCP`); otherwise the query's words must match * consecutive word prefixes of the target (`handy commands` matches * `handy-commands`, `chrome-devtools` matches `Chrome DevTools MCP`). * * @returns highlight ranges in `target`, or `null` when it does not match. */ export declare function matchesCustomizationSearchQuery(query: string, target: string): IMatch[] | null; /** * Returns whether any of `values` matches `query` according to * {@link matchesCustomizationSearchQuery}. An empty query matches everything. */ export declare function customizationSearchMatchesAny(query: string, values: readonly (string | undefined)[]): boolean; /** * Splits a Customizations search query into lowercase words using the same * separators as {@link matchesCustomizationSearchQuery}, for surfaces that * score words independently (for example relevance-ranked connectors). */ export declare function splitCustomizationSearchWords(query: string): string[];