import { BaseAIProvider } from './base';
import { ChatMessage, StreamEvent, TestConnectionResult } from '../types';
interface ClaudeMessage {
    role: 'user' | 'assistant';
    content: string;
}
interface ClaudeRequest {
    model: string;
    messages: ClaudeMessage[];
    max_tokens: number;
    system?: string;
    temperature?: number;
    stream: boolean;
}
export declare class ClaudeProvider extends BaseAIProvider {
    /**
     * 发送聊天消息（流式输出）
     */
    chat(messages: ChatMessage[], onEvent: (event: StreamEvent) => void, signal?: AbortSignal): Promise<void>;
    /**
     * 测试连接
     */
    testConnection(): Promise<TestConnectionResult>;
    /**
     * 构建请求头
     */
    protected buildHeaders(): Record<string, string>;
    /**
     * 构建请求体
     */
    protected buildRequestBody(messages: ChatMessage[]): ClaudeRequest;
    /**
     * 解析流式响应
     */
    protected parseStreamChunk(chunk: string, onEvent: (event: StreamEvent) => void): void;
}
export {};
//# sourceMappingURL=claude.d.ts.map