/** * Near-duplicate detection with MinHash over word shingles. * * Two tool results are rarely byte-identical — a timestamp, a duration, * a line number moves — and still the same output. Three-word shingles * hashed 64 ways give a Jaccard estimate that is stable against those * edits and cheap enough to compare every message against every other * once per pass at the sizes a turn reaches. Hashing is FNV-1a with a * per-slot seed; nothing here needs to be cryptographic, only consistent * within a process. */ /** The signature of `tokens`; an empty signature for fewer than one shingle. */ export declare function minhash(tokens: readonly string[]): Uint32Array; /** Estimated Jaccard similarity of two signatures, 0..1. */ export declare function similarity(a: Uint32Array, b: Uint32Array): number; export declare function isEmptySignature(signature: Uint32Array): boolean; //# sourceMappingURL=minhash.d.ts.map