import FuzzySearch from 'fuzzy-search';
export declare class FuzzySearcher<T extends object> {
    readonly candidates: T[];
    readonly searcher: FuzzySearch<{
        key: string;
        index: number;
    }>;
    constructor(candidates: T[], toSearchKey?: (e: T) => string[]);
    search(query: string): T[];
}
