import { anthropic as _anthropic } from "@ai-sdk/anthropic"; import { AISDKLanguageModel } from "../language-model.js"; /** * Anthropic model IDs (derived from @ai-sdk/anthropic). */ export type AnthropicModelId = Parameters[0]; /** * Options for creating a custom Anthropic provider. */ export interface AnthropicProviderOptions { /** API key for authentication */ apiKey?: string; /** Custom base URL */ baseURL?: string; /** Custom headers */ headers?: Record; } /** * Create a custom Anthropic provider with explicit credentials. * * @example * ```ts * const anthropic = createAnthropic({ apiKey: "sk-..." }); * const model = anthropic("claude-sonnet-4-5"); * ``` */ export declare function createAnthropic(options?: AnthropicProviderOptions): (modelId: AnthropicModelId) => AISDKLanguageModel; /** * Create a kernl-compatible Anthropic language model. * Uses ANTHROPIC_API_KEY environment variable. * * @example * ```ts * import { anthropic } from '@kernl-sdk/ai/anthropic'; * * const claude = anthropic('claude-sonnet-4-5'); * const response = await claude.generate([...], {}); * ``` */ export declare function anthropic(modelId: AnthropicModelId): AISDKLanguageModel; //# sourceMappingURL=anthropic.d.ts.map