/**
 * Failover classification — classifyFailoverReason() and AssistantMessage error wrappers.
 */
import type { AssistantMessage } from "@mariozechner/pi-ai";
import type { FailoverReason } from "../types.js";
export declare function classifyFailoverReason(raw: string): FailoverReason | null;
export declare function isFailoverErrorMessage(raw: string): boolean;
export declare const isFailoverAssistantError: (msg: AssistantMessage | undefined) => boolean;
export declare const isRateLimitAssistantError: (msg: AssistantMessage | undefined) => boolean;
export declare const isBillingAssistantError: (msg: AssistantMessage | undefined) => boolean;
export declare const isAuthAssistantError: (msg: AssistantMessage | undefined) => boolean;
