import type { ChatMessage } from "../types";
interface OpenRouterConfig {
    apiKey: string;
    baseUrl?: string;
    model?: string;
}
interface UseOpenRouterChatOptions {
    config: OpenRouterConfig;
    onError?: (error: Error) => void;
    onMessageComplete?: (message: ChatMessage) => void;
    onMessageUpdate?: (message: ChatMessage) => void;
}
export declare function useOpenRouterChat({ config, onMessageUpdate, onMessageComplete, onError, }: UseOpenRouterChatOptions): {
    sendMessage: (content: string, conversationHistory?: ChatMessage[]) => Promise<ChatMessage>;
    stopStreaming: () => void;
    isStreaming: boolean;
    currentStreamingMessageId: string | null;
};
export {};
