import { MemoryFile } from './types.js';
import { LifecycleSignals } from './lifecycle.js';
import './index-1qIcnbG1.js';

type MemoryTier = "hot" | "cold";
interface TierRoutingPolicy {
    enabled: boolean;
    demotionMinAgeDays: number;
    demotionValueThreshold: number;
    promotionValueThreshold: number;
}
interface TierTransitionDecision {
    currentTier: MemoryTier;
    nextTier: MemoryTier;
    valueScore: number;
    changed: boolean;
    reason: string;
}
declare function computeTierValueScore(memory: Pick<MemoryFile, "frontmatter">, now: Date, signals?: LifecycleSignals): number;
declare function decideTierTransition(memory: Pick<MemoryFile, "frontmatter">, currentTier: MemoryTier, policy: TierRoutingPolicy, now: Date, signals?: LifecycleSignals): TierTransitionDecision;

export { type MemoryTier, type TierRoutingPolicy, type TierTransitionDecision, computeTierValueScore, decideTierTransition };
