export interface AgentPickStats { name: string; /** Shown as the [PICK] agent. */ recommended: number; /** A Task spawn used the recommended agent. */ followed: number; /** A Task spawn used another agent than the recommended one. */ overridden: number; /** Spawned instead of a different recommended agent. */ chosen: number; /** SubagentStop outcomes of this agent. */ success: number; failure: number; } export interface PickStatsSummary { /** Prompts routed (route-outcomes records). */ routes: number; /** Routes that printed a [PICK] line. */ shown: number; /** Task/Agent spawns observed (pick-adherence records). */ spawns: number; /** followed / (followed + overridden); null without a recommended spawn. */ adherenceRate: number | null; /** Subagent success rate when the pick was followed; null without data. */ followedSuccessRate: number | null; /** Subagent success rate when the pick was overridden; null without data. */ notFollowedSuccessRate: number | null; /** At most 10, most observations first; `prior` is the ranking factor. */ topAgents: (AgentPickStats & { successRate: number | null; prior: number; })[]; updatedAt: string | null; } /** Pick learning summary for `root`, folded up to the latest hook lines * without writing pick-stats.json. Never throws. */ export declare function readPickStats(root: string): PickStatsSummary; /** Re-rank keyword-scored agents by the stored outcome prior of `root`. * Entries gain `baseScore` (keyword relevance) and `prior` (the factor); * without the helper they come back unchanged with prior 1. */ export declare function applyAgentPriors(root: string, ranked: T[]): (T & { baseScore: number; prior: number; })[]; //# sourceMappingURL=pick-stats.d.ts.map