/**
 * Nexus Prime — Memory Promotion Engine
 *
 * Promotion rules:
 *   - scratch → session_learning (always allowed)
 *   - session_learning → project_fact (requires 1+ validation)
 *   - project_fact → reusable_pattern (requires 3+ confirmed runs, 0 contradictions)
 *   - scratch → reusable_pattern (NEVER — must go through intermediate classes)
 *   - project_fact can be demoted if contradicted
 *   - session_learning expires after 7 days without validation
 */
import { type MemoryClass } from './memory-classes.js';
export interface PromotionCandidate {
    memoryId: string;
    content: string;
    currentClass: MemoryClass;
    validationCount: number;
    contradictionCount: number;
    sourceRunIds: string[];
    lastValidatedAt: number;
    createdAt: number;
}
export interface PromotionDecision {
    memoryId: string;
    fromClass: MemoryClass;
    toClass: MemoryClass;
    action: 'promote' | 'demote' | 'expire' | 'hold';
    reason: string;
}
/**
 * Evaluate promotion/demotion/expiry for a set of memory candidates.
 */
export declare function evaluatePromotions(candidates: PromotionCandidate[], nowMs?: number): PromotionDecision[];
