import { P as ProviderCallOptions, R as ReforgeProvider } from '../types-BthWWfka.js'; import 'zod'; interface AnthropicCallOptions extends ProviderCallOptions { max_tokens?: number; temperature?: number; top_p?: number; top_k?: number; thinking?: unknown; tool_choice?: unknown; tools?: unknown; } /** * Minimal subset of the Anthropic client used by the adapter. */ interface AnthropicClient { messages: { create(params: Record): Promise<{ content: Array<{ type: string; text?: string; }>; }>; }; } /** * Create a `ReforgeProvider` for the Anthropic Messages API. * * Only needed for **direct** Anthropic API access. If you're using * Claude through OpenRouter or another proxy, use `openaiCompatible()` instead. * * @param client - An `Anthropic` client instance (from `@anthropic-ai/sdk`). * @param model - The model identifier (e.g. `"claude-sonnet-4-20250514"`). * @returns A `ReforgeProvider` ready to use with `forge()`. * * @example * ```ts * import Anthropic from '@anthropic-ai/sdk'; * import { anthropic } from 'reforge-ai/anthropic'; * * const provider = anthropic(new Anthropic(), 'claude-sonnet-4-20250514'); * ``` */ declare function anthropic(client: AnthropicClient, model: string): ReforgeProvider; export { type AnthropicCallOptions, anthropic };