import { Omit } from "./general-util.js"; export interface FindBestMatchOptions { threshold?: number; caseSensitive?: boolean; matchKey: keyof T; } /** * Finds the best match between a string and elements in a list. * @param find * @param elements * @param options */ export declare function findBestMatch(find: string, elements: T[], options: FindBestMatchOptions): T | undefined; export declare function findBestStringMatch(find: string, elements: string[], { caseSensitive, threshold }?: Omit, "matchKey">): string | undefined; //# sourceMappingURL=find-best-match.d.ts.map