import type { ZodType } from "zod"; import { type AIProviderName } from "../constants/enums.js"; import { BaseProvider } from "../core/baseProvider.js"; import type { StreamOptions, StreamResult } from "../types/index.js"; import type { LanguageModel, Schema } from "../types/index.js"; /** * Anthropic provider implementation using BaseProvider pattern * Migrated from direct API calls to Vercel AI SDK (@ai-sdk/anthropic) * Follows exact Google AI interface patterns for compatibility */ export declare class AnthropicProviderV2 extends BaseProvider { constructor(modelName?: string); protected getProviderName(): AIProviderName; protected getDefaultModel(): string; /** * Returns the Vercel AI SDK model instance for Anthropic */ protected getAISDKModel(): LanguageModel; protected formatProviderError(error: unknown): Error; private getApiKey; protected executeStream(options: StreamOptions, _analysisSchema?: ZodType | Schema): Promise; } export default AnthropicProviderV2;