interface MatchOptions { pre?: string; post?: string; caseSensitive?: boolean; extract?: (arg: any) => string; } interface MatchResult { rendered: string; score: number; } interface FilterResult { string: string; score: number; index: number; original: T; } declare const fuzzy: { simpleFilter(pattern: string, array: string[]): string[]; test(pattern: string, str: string): boolean; match(pattern: string, str: string, opts?: MatchOptions): MatchResult | null; filter(pattern: string, arr: T[], opts?: MatchOptions): FilterResult[]; }; export default fuzzy;