export type BasicOperation = { kind: 'append' | 'insert'; updated: T; } | { kind: 'delete'; original: T; } | { kind: 'delete-namespace'; namespace: string; original: { contract: string; }; }; export type Operation = C | BasicOperation; export type Cost = { cost?: number; }; type GetChangeOp = (a: T, b: T) => (C & Cost) | undefined; export declare function levenshtein(a: T[], b: T[], getChangeOp: GetChangeOp): Operation[]; export {}; //# sourceMappingURL=levenshtein.d.ts.map