import { ChatMessage, ToolDefinition } from '../types';
export declare function convertMessagesToAnthropic(messages: ChatMessage[]): {
    system: string | null;
    anthropicMessages: any[];
};
export declare function convertToolsToAnthropic(tools: ToolDefinition[]): any[];
export declare function buildAnthropicRequestBody(model: string, messages: ChatMessage[], tools?: ToolDefinition[], params?: Record<string, any>): Record<string, any>;
export declare function getAnthropicEndpoint(): string;
export declare function getAnthropicHeaders(apiKey: string): Record<string, string>;
export declare function normalizeAnthropicResponse(response: any): {
    content: string | null;
    toolCalls: Array<{
        id: string;
        name: string;
        arguments: string;
    }> | null;
    finishReason: string;
    reasoning: string | null;
    usage: {
        promptTokens: number;
        completionTokens: number;
        totalTokens: number;
        cachedTokens: number;
    } | null;
};
export declare function normalizeAnthropicStreamEvent(event: any): {
    type: string;
    content?: string | null;
    toolCall?: {
        index: number;
        id?: string;
        name?: string;
        arguments?: string;
    };
    finishReason?: string | null;
    reasoning?: string | null;
    usage?: {
        promptTokens?: number;
        completionTokens?: number;
        totalTokens?: number;
    };
} | null;
//# sourceMappingURL=anthropic-adapter.d.ts.map