import type { LanguageModel } from 'ai';
import type { AIProviderConfig, AISDKCoreTool, LLMChatResponse, Message, StreamCallbacks } from '../../types/index.js';
export interface ChatHandlerParams {
    model: LanguageModel;
    currentModel: string;
    providerConfig: AIProviderConfig;
    messages: Message[];
    tools: Record<string, AISDKCoreTool>;
    callbacks: StreamCallbacks;
    signal?: AbortSignal;
    maxRetries: number;
    skipTools?: boolean;
}
/**
 * Main chat handler - orchestrates the entire chat flow
 */
export declare function handleChat(params: ChatHandlerParams): Promise<LLMChatResponse>;
//# sourceMappingURL=chat-handler.d.ts.map