import type { CriteriaDiff } from '../../types/index.js';
/** Normalize a criteria text for comparison (trim, collapse whitespace). */
export declare function normalizeCriteriaText(text: string): string;
/**
 * Compute a simple similarity score (0–1) between two strings.
 * Uses character bigram overlap.
 */
export declare function similarityScore(a: string, b: string): number;
/**
 * Compute semantic diff between two sets of criteria texts.
 * Returns added, removed, and modified criteria.
 */
export declare function computeCriteriaDiff(before: string[], after: string[]): CriteriaDiff;
/**
 * Returns true if the diff contains any actual changes.
 */
export declare function hasDiffChanges(diff: CriteriaDiff): boolean;
//# sourceMappingURL=diff.d.ts.map