/** * AnthropicToResponsesProxy — Anthropic → Responses 转换代理 * * Hub-and-spoke 模式:所有格式转换经过 OpenAI Chat 作为中间格式。 * Anthropic 请求先转为 Chat 格式,调用 /chat/completions, * 响应通过标准化回调输出。 */ import BaseProxy from './common/BaseProxy'; import type { AnthropicProxyInput, SSECallbacks } from './common/types'; export default class AnthropicToResponsesProxy extends BaseProxy> { private callbacks?; setCallbacks(callbacks: SSECallbacks): this; protected validate(input: AnthropicProxyInput): void; protected optimizeInput(input: AnthropicProxyInput): AnthropicProxyInput; protected transformRequest(input: AnthropicProxyInput): Record; protected buildEndpoint(_input: AnthropicProxyInput): string; protected proxy(input: AnthropicProxyInput, body: Record, endpoint: string): Promise; execute(input: AnthropicProxyInput, callbacks?: SSECallbacks): Promise; } //# sourceMappingURL=AnthropicToResponsesProxy.d.ts.map