export interface Sequence { [key: number]: unknown; length: number; } export type CostFunctionOptions = { [key: string | number]: unknown; }; export type CostFunction = (s: T, t: T, i: number, j: number, options?: CostFunctionOptions) => number; export declare function levenshtein(s: T, t: T, cost?: CostFunction, options?: CostFunctionOptions): number; //# sourceMappingURL=metrics.d.ts.map