import type { AssistantMessageDiagnostic } from "../types.js"; /** Anthropic beta that re-serves safety refusals on an allowed fallback model. */ export declare const ANTHROPIC_SERVER_SIDE_FALLBACK_BETA = "server-side-fallback-2026-06-01"; export declare const CLAUDE_FABLE_5_FALLBACK_MODEL = "claude-opus-4-8"; export declare const CLAUDE_FABLE_5_FALLBACK_MODEL_COST: { readonly input: 5; readonly output: 25; readonly cacheRead: 0.5; readonly cacheWrite: 6.25; }; export declare function buildAnthropicServerSideFallbacks(): Array<{ model: string; }>; export type AnthropicFallbackBoundary = { fromModel: string | null; toModel: string | null; }; /** Reads a `fallback` content block marking where one model's output gives way to the next. */ export declare function readAnthropicFallbackBoundary(block: unknown): AnthropicFallbackBoundary | null; /** * Drops pre-fallback thinking/tool calls while preserving the text prefix that * the serving model continued. Dropped tool calls must never execute or replay. */ export declare function applyAnthropicFallbackBoundary(params: { output: { content: Array<{ type: string; }>; responseModel?: string; diagnostics?: AssistantMessageDiagnostic[]; }; boundary: AnthropicFallbackBoundary; provider: string; }): void;