export interface ModelOutcomeRecord { ts: number; task: string; model: string; outcome: string; quality?: number; } /** Append a model routing outcome. Opportunistically trims the file to * MAX_MODEL_RECORDS lines to prevent unbounded growth. */ export declare function recordModelOutcome(baseDir: string, rec: ModelOutcomeRecord): Promise; /** Read all outcome records (for stats). */ export declare function readModelOutcomes(baseDir: string): Promise; export interface ModelStats { totalDecisions: number; modelDistribution: Record; successRate: number | null; byModel: Record; avgQuality: number | null; } /** Compute real aggregate statistics from the recorded outcomes. */ export declare function computeModelStats(baseDir: string): Promise; //# sourceMappingURL=model-outcomes.d.ts.map