import type { ModelRuntimeCallOptions, ModelRuntimeToolDefinition } from "../../../src/provider/shared/index.js"; import { type AnthropicProviderToolNameRegistry } from "./anthropic-native-content.js"; type ProviderCacheTtl = boolean | "5m" | "1h"; type ProviderCacheControlOption = { system?: ProviderCacheTtl; tools?: ProviderCacheTtl; }; export interface OpenAICompatibleLanguageOptions extends ModelRuntimeCallOptions { cacheControl?: ProviderCacheControlOption; anthropicContainer?: unknown; mcpServers?: readonly Record[]; } /** @deprecated Import `ModelRuntimeToolDefinition` from `veryfront/provider/shared` instead. */ export type RuntimeToolDefinition = ModelRuntimeToolDefinition; type WarningCollector = { push(warning: { type: "unsupported-setting" | "other"; setting?: string; details?: string; provider: string; }): void; drain(): Array<{ type: "unsupported-setting" | "other"; setting?: string; details?: string; provider: string; }>; }; type AnthropicCompatibleMessage = { role: "user" | "assistant"; content: Array>; }; type AnthropicCompatibleRequest = { model: string; messages: AnthropicCompatibleMessage[]; max_tokens: number; stream?: boolean; system?: string | Array>; temperature?: number; top_p?: number; stop_sequences?: string[]; tools?: Array>; tool_choice?: unknown; output_config?: { format: Record; }; [key: string]: unknown; }; export declare function buildAnthropicMessagesRequestWithCorrelationState(modelId: string, providerName: string, options: OpenAICompatibleLanguageOptions, stream: boolean, warnings: WarningCollector): { body: AnthropicCompatibleRequest; providerToolNamesById: AnthropicProviderToolNameRegistry; }; export declare function buildAnthropicMessagesRequest(modelId: string, providerName: string, options: OpenAICompatibleLanguageOptions, stream: boolean, warnings: WarningCollector): AnthropicCompatibleRequest; export {}; //# sourceMappingURL=anthropic-request-builder.d.ts.map