export type FuzzyRange = { start: number; end: number; }; export type FuzzySearchItem = { value: T; label: string; aliases?: readonly string[]; keywords?: readonly string[]; }; export type FuzzyMatch = { value: T; label: string; matchedText: string; matchedRanges: readonly FuzzyRange[]; score: number; rank: number; }; export type FuzzySearchOptions = { limit?: number; includeEmptyQuery?: boolean; minScorePerCharacter?: number; preferKeyboardLayoutMatches?: boolean; }; export declare function fuzzySearch(items: readonly FuzzySearchItem[], query: string, options?: FuzzySearchOptions): FuzzyMatch[];