import type { ChatMessage } from './types';
/**
 * Creates a Google AI handler for the ChatbotWidget.
 *
 * @example
 * const aiHandler = createGoogleAIHandler('your-api-key');
 * <ChatbotWidget aiHandler={aiHandler} />
 */
export declare function createGoogleAIHandler(apiKey: string, modelId?: string): (messages: ChatMessage[]) => Promise<string>;
/**
 * A ready-to-use handler that automatically tries to get the API key from environment variables.
 * For Vite: Use VITE_GEMINI_API_KEY in your .env file
 * For Create React App: Use REACT_APP_GEMINI_API_KEY in your .env file
 * For Node.js: Use GEMINI_API_KEY in your environment
 */
export declare const defaultAIHandler: (messages: ChatMessage[]) => Promise<string>;
