/** * Levenshtein distance for short-string typo detection. Rule names, tool names, * and hook events are short, so edit distance is more appropriate than NCD * (which is tuned for longer texts). * * Extracted to its own zero-dependency leaf module so the typo detectors * (tool-contract, hook-events) can import it WITHOUT pulling in `core/linters.ts`, * which runs a `node:fs`/`process`/`glob` side effect at import time — the * blocker to running those detectors in a browser (the in-browser audit demo). */ export declare function editDistance(a: string, b: string): number; //# sourceMappingURL=edit-distance.d.ts.map