/**
 * Nexus Prime — Memory Classes
 *
 * Classifies memory entries into promotion tiers.
 * Memory should produce execution advantage, not just continuity.
 */
export type MemoryClass = 'scratch' | 'session_learning' | 'project_fact' | 'reusable_pattern';
export interface ClassifiedMemory {
    id: string;
    content: string;
    memoryClass: MemoryClass;
    createdAt: number;
    lastValidatedAt: number;
    validationCount: number;
    contradictionCount: number;
    sourceRunIds: string[];
}
/**
 * Classify a memory entry based on its validation history.
 */
export declare function classifyMemory(params: {
    validationCount: number;
    contradictionCount: number;
    ageMs: number;
    sourceRunCount: number;
}): MemoryClass;
/**
 * Check whether a memory class transition is allowed.
 * Enforces: scratch cannot directly promote to reusable_pattern.
 */
export declare function isPromotionAllowed(from: MemoryClass, to: MemoryClass): boolean;
/**
 * Check if a session_learning entry should expire.
 */
export declare function shouldExpireSessionLearning(lastValidatedAt: number, validationCount: number, nowMs?: number): boolean;
