import type { Change, AmbiguousCallback } from "../types.js"; /** * Mutates `changes` in place: detects (drop-table, create-table) pairs whose * column sets have Jaccard similarity ≥ 0.8. Per spec §6.3. * * Must run BEFORE detectColumnRenames so a renamed table's columns aren't * scanned as orphaned drop/add pairs. * * Side-channel: diff() attaches `_columns` to drop-table changes so this * function has access to the dropped table's column list. */ export declare function detectTableRenames(changes: Change[], onAmbiguous: AmbiguousCallback | undefined): Promise; /** * Mutates `changes` in place: detects (drop-column 'old', add-column 'new') pairs * on the same table that match the rename heuristic. Per spec §6.2. * * For each candidate: invokes onAmbiguous (default 'drop+add' if absent). * - 'rename' → replace the pair with a single rename-column Change. * - 'drop+add'→ leave both as-is. * - 'abort' → throw. */ export declare function detectColumnRenames(changes: Change[], onAmbiguous: AmbiguousCallback | undefined): Promise; //# sourceMappingURL=rename-heuristic.d.ts.map