/**
 * Migration: 026 — Flip extracted_from / supported_by edge directions for legacy DBs
 * Version: 26.0
 *
 * Prior builds stored:
 *   extracted_from: episodic → semantic
 *   supported_by: semantic → episodic
 * Current model (data-model.md): semantic → episodic (extracted_from), episodic → semantic (supported_by).
 * This migration swaps source/target only for rows that still match the old orientation.
 *
 * UNIQUE(source_id, target_id, relation_type): if the post-swap tuple already exists (correct row
 * inserted by newer code), swapping the legacy row would violate UNIQUE — those legacy rows are
 * deleted first. Ops: after migrate, optional `SELECT COUNT` sanity check; duplicates should be rare.
 */
import type Database from 'better-sqlite3';
import type { Migration } from '../types.js';
export declare class FlipConsolidationRelationDirectionsMigration implements Migration {
    version: string;
    name: string;
    description: string;
    validateBefore(_db: Database.Database): Promise<void>;
    validateAfter(_db: Database.Database): Promise<void>;
    up(db: Database.Database): Promise<void>;
    down(db: Database.Database): Promise<void>;
}
export default FlipConsolidationRelationDirectionsMigration;
//# sourceMappingURL=026-flip-consolidation-relation-directions.d.ts.map