import type { ContentBlockParam } from '@anthropic-ai/sdk/resources'; import type { FastModeController, FastTurnDecision } from '../../../fast-mode.js'; import type { AnthropicClientLike, AnthropicToolDef, RunTurnInput, ToolDispatcher } from '../types.js'; export interface TurnRequestInput { client: AnthropicClientLike; messages: RunTurnInput['messages']; system: ContentBlockParam[] | string | null; tools: AnthropicToolDef[] | null; toolDispatcher: ToolDispatcher; model: string; maxTokens: number; signal: AbortSignal; authMode: import('../types.js').AuthMode; sessionId: string; requestId: string; fastModeController?: FastModeController; baseUrl?: string; thinking?: RunTurnInput['thinking']; effort?: RunTurnInput['effort']; temperature?: number; maxToolUseIterations?: number; softDeadlineMs?: number; traceWriter?: RunTurnInput['traceWriter']; subagentId?: string; throttleQueue?: RunTurnInput['throttleQueue']; onUsageProgress?: RunTurnInput['onUsageProgress']; beforeNextRound?: RunTurnInput['beforeNextRound']; } export declare function prepareTurnRequest(input: TurnRequestInput): { decision: FastTurnDecision | undefined; runInput: RunTurnInput; }; export declare const FAST_ERROR_PREFIX = "[Fast mode requested; no standard-mode fallback will be attempted]"; export declare function annotateFastError(error: unknown, fast: boolean): Error;