import type OpenAI from 'openai'; import type { Config } from '../../../config/config.js'; import type { ContentGeneratorConfig } from '../../contentGenerator.js'; import { DefaultOpenAICompatibleProvider } from './default.js'; /** * Provider for Anthropic's OpenAI-compatible API * Handles Claude model-specific constraints like not allowing both temperature and top_p */ export declare class AnthropicOpenAICompatibleProvider extends DefaultOpenAICompatibleProvider { constructor(contentGeneratorConfig: ContentGeneratorConfig, cliConfig: Config); static isAnthropicProvider(contentGeneratorConfig: ContentGeneratorConfig): boolean; static isClaudeModel(model: string): boolean; buildRequest(request: OpenAI.Chat.ChatCompletionCreateParams, _userPromptId: string): OpenAI.Chat.ChatCompletionCreateParams; }