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