export declare const FABLE_FALLBACK_MODEL_ID = "claude-opus-4-8"; export declare const FABLE_FALLBACK_TURNS = 10; export type FableStandbyCacheAnchor = { fingerprint: string; messageIndex: number; messageCount: number; oauthAccountId: string; }; export type FableFallbackPlan = { sessionId: string; recoveryKey: string; requestedModel: string; effectiveModel: string; bodyText: string; downgraded: boolean; cycle?: number; cacheAccountId?: string; standbyCacheAnchor?: FableStandbyCacheAnchor; requestSequence?: number; completed?: boolean; }; export declare class FableFallbackManager { private readonly now; private readonly recoveries; private nextCycle; constructor(now?: () => number); private prune; plan(sessionId: string | null | undefined, bodyText: unknown): FableFallbackPlan | null; recoveryAccount(plan: FableFallbackPlan): string | undefined; bindRecoveryAccount(plan: FableFallbackPlan, oauthAccountId: string): boolean; activate(plan: FableFallbackPlan, cacheAccountId?: string): number; complete(plan: FableFallbackPlan, standbyCacheAnchor?: FableStandbyCacheAnchor): { counted: boolean; remaining: number; }; remaining(plan: FableFallbackPlan): number; }