UNPKG

route-claudecode

Version:

Advanced routing and transformation system for Claude Code outputs to multiple AI providers

23 lines 769 B
/** * Anthropic API Client * Direct integration with Anthropic's official Messages API * Project owner: Jason Zhang */ import { BaseRequest, BaseResponse, ProviderConfig } from '../../types'; export declare class AnthropicClient { private config; private apiKey; private baseUrl; constructor(config: ProviderConfig); healthCheck(): Promise<boolean>; createMessage(request: BaseRequest): Promise<BaseResponse>; streamMessage(request: BaseRequest): AsyncIterable<any>; private convertToAnthropicFormat; private filterMessages; private supportsTools; private supportsToolResults; private summarizeToolResults; private convertFromAnthropicFormat; private convertStreamEvent; } //# sourceMappingURL=client.d.ts.map