/** * @file Classify an agent CLI's failure output into the three conditions that * call for different recovery: the model is unavailable, so fall over to * another agent; the service is overloaded, so retry the same agent after * backoff; or the quota is spent, so fall over to another provider/account. * These read raw stdout/stderr and are pure, so `spawn.mts` owns the recovery * policy while the pattern-matching stays independently testable. */ export declare function isModelUnavailable(stdout: string, stderr: string): boolean; export declare function isOverloaded(stdout: string, stderr: string): boolean; export declare function isQuotaExhausted(stdout: string, stderr: string): boolean;