import { type Cache1hMode, type ClaudeCodeIdentity } from '@cortexkit/anthropic-auth-core'; import type { Context, SimpleStreamOptions, Tool } from '@earendil-works/pi-ai'; export type AnthropicRequestBody = { model: string; max_tokens: number; stream: true; system?: Array>; messages: Array>; tools?: Array>; thinking?: { type: 'enabled'; budget_tokens: number; } | { type: 'adaptive'; display: 'summarized'; }; output_config?: { effort: string; }; cache_control?: { type: 'ephemeral'; }; speed?: 'fast'; }; export declare function fromClaudeCodeToolName(name: string, tools?: Tool[]): string; export declare function buildAnthropicRequest(modelId: string, context: Context, options: SimpleStreamOptions | undefined, cache: { enabled: boolean; mode: Cache1hMode; }, fastModeEnabled?: boolean, identity?: ClaudeCodeIdentity): Promise<{ body: AnthropicRequestBody; bodyText: string; }>;