import { ChatMessage, FunctionSpecification, LanguageModelProgramExecutor, LanguageModelProgramExecutorExecuteOptions, RequestOptions } from "."; import { ChatCompletionCreateParams } from "openai/resources"; import Anthropic from '@anthropic-ai/sdk'; type Config = ConstructorParameters[0]; type ChatCompletionParams = Partial; type DefaultCompletionParams = ChatCompletionParams & { model: ChatCompletionCreateParams["model"] | string; }; export declare class AnthropicProcessor implements LanguageModelProgramExecutor { client: Anthropic; defaultCompletionParams: DefaultCompletionParams; defaultRequestOptions: RequestOptions; singleSystemMessage: boolean; constructor(anthropicClientConfig?: Config, defaultCompletionParams?: ChatCompletionParams, defaultRequestOptions?: RequestOptions); execute(messages: ChatMessage[], completionParams?: LanguageModelProgramExecutorExecuteOptions, functions?: FunctionSpecification[], requestOptions?: RequestOptions): Promise; private executeStreaming; private nonFunctionExecute; /** * swaps all but the first system message to user messages for OSS models that only support a single system message. */ private reformatRoles; } export {};