/** * Text-similarity helpers shared by the duplicate rules and the structural * analysis. * * Both need to answer "are these two chunks saying the same thing?", and both * need to answer it the same way — a rule that removes a near-duplicate and an * advisory that reports one should never disagree about what "near" means. */ /** Normalises a line or paragraph for duplicate comparison. */ export declare function normalizeForCompare(text: string): string; /** Jaccard similarity over word sets. */ export declare function jaccard(a: string, b: string): number; //# sourceMappingURL=similarity.d.ts.map