import { GenerateOptions, GenerateResult, LLMProviderInterface } from './provider-interface'; /** * Configuration for the Anthropic provider */ export interface AnthropicProviderConfig { model: string; apiKey?: string; maxRetries?: number; } /** * Provider for interacting with Anthropic's Claude LLMs */ export declare class AnthropicProvider implements LLMProviderInterface { private client; private config; /** * Creates a new Anthropic provider instance * * @param config - Configuration for the provider */ constructor(config: AnthropicProviderConfig); /** * Generates a response from the LLM * * @param options - Generation options * @returns Promise resolving to the generation result */ generateResponse(options: GenerateOptions): Promise; /** * Streams a response from the LLM * * @param messageParams - Parameters for the Anthropic API call * @param onPartialResponse - Callback function for partial responses * @returns Promise resolving to the complete generation result */ private streamResponse; /** * Processes a complete response from the LLM * * @param response - The response from Anthropic * @returns The processed generation result */ private processResponse; /** * Updates the provider configuration * * @param config - New configuration options */ updateConfig(config: Partial): void; }