/**
 * BRAIN lifecycle operations — temporal decay and memory consolidation.
 *
 * Reduces confidence of stale learnings based on age, following an
 * exponential decay model: new_confidence = confidence * (decayRate ^ daysSinceUpdate).
 *
 * Consolidation groups old observations by keyword overlap and merges
 * clusters into summary observations, archiving the originals.
 *
 * @task T5394 T5395
 * @epic T5149
 */
/** Result from applying temporal decay. */
export interface DecayResult {
    updated: number;
    tablesProcessed: string[];
}
/**
 * Apply temporal decay to brain_learnings confidence values.
 *
 * Entries older than `olderThanDays` have their confidence reduced
 * by an exponential decay factor based on the number of days since
 * their last update (or creation if never updated).
 *
 * Formula: new_confidence = confidence * (decayRate ^ daysSinceUpdate)
 *
 * @param projectRoot - Project root directory for brain.db resolution
 * @param options - Decay configuration
 * @returns Count of updated rows and tables processed
 */
export declare function applyTemporalDecay(projectRoot: string, options?: {
    decayRate?: number;
    olderThanDays?: number;
}): Promise<DecayResult>;
/** Result from consolidating memories. */
export interface ConsolidationResult {
    grouped: number;
    merged: number;
    archived: number;
}
/**
 * Consolidate old observations by keyword similarity.
 *
 * Groups observations older than `olderThanDays` by FTS5 keyword overlap.
 * For groups with at least `minClusterSize` entries, creates one summary
 * observation and marks originals as archived (updated_at set, narrative
 * prefixed with [ARCHIVED]).
 *
 * @param projectRoot - Project root directory for brain.db resolution
 * @param options - Consolidation configuration
 * @returns Counts of grouped, merged, and archived observations
 */
export declare function consolidateMemories(projectRoot: string, options?: {
    olderThanDays?: number;
    minClusterSize?: number;
}): Promise<ConsolidationResult>;
//# sourceMappingURL=brain-lifecycle.d.ts.map