/**
 * Correction Propagation Protocol
 *
 * When a memory is corrected, updates propagate across all tiers:
 * daily log, working memory, and session memory. Old claims are marked
 * [superseded] with date and reason, preserving the audit trail.
 *
 * Inspired by Total Recall's correction gate.
 */
import Database from 'better-sqlite3';
export interface CorrectionResult {
    originalFound: boolean;
    originalId?: number;
    originalContent?: string;
    tiersUpdated: string[];
    supersededCount: number;
    correctedEntryId?: number;
}
export interface SupersededEntry {
    id: number;
    tier: string;
    originalContent: string;
    supersededDate: string;
    supersededBy: string;
    reason: string;
}
/**
 * Ensure the superseded tracking table exists.
 */
export declare function ensureSupersededSchema(db: Database.Database): void;
/**
 * Propagate a correction across all memory tiers.
 *
 * @param dbPath Path to the SQLite database
 * @param searchContent Content to find and correct (fuzzy match)
 * @param correctedContent The corrected version
 * @param reason Why the correction was made
 */
export declare function propagateCorrection(dbPath: string, searchContent: string, correctedContent: string, reason?: string): CorrectionResult;
/**
 * Get the superseded history for audit trail.
 */
export declare function getSupersededHistory(dbPath: string, limit?: number): SupersededEntry[];
//# sourceMappingURL=correction-propagator.d.ts.map