export type FailoverReason = "auth" | "auth_permanent" | "format" | "rate_limit" | "overloaded" | "billing" | "timeout" | "model_not_found" | "session_expired" | "unknown";
export declare function isTimeoutErrorMessage(raw: string): boolean;
export declare function isCloudflareOrHtmlErrorPage(raw: string): boolean;
export declare function isTransientHttpError(raw: string): boolean;
export declare function classifyFailoverReasonFromHttpStatus(status: number | undefined, message?: string): FailoverReason | null;
export declare function isModelNotFoundErrorMessage(raw: string): boolean;
export declare function classifyFailoverReason(raw: string): FailoverReason | null;
export declare function isFailoverErrorMessage(raw: string): boolean;
