type AIPlatform = 'embeddable-ai' | 'openai' | 'anthropic' | 'gemini'; interface ChatMessage { role: 'user' | 'assistant'; content: string; } interface AIResponseData { response: string; tokensUsed: number | null; } interface AIResponseMetadata { model: string | null; integrationKey: string; capabilityId: string; executedAt: string; [key: string]: any; } interface AIResponse { success: boolean; message?: string; error?: string; data?: AIResponseData; metadata?: AIResponseMetadata; } interface UseAIOptions { platform: AIPlatform; inputs?: { systemPrompt?: string; temperature?: number; model?: string; maxTokens?: number; topP?: number; frequencyPenalty?: number; presencePenalty?: number; }; } /** * React hook for handling AI API calls with loading, error states * @param options - Configuration including the AI platform to use * @returns Object with AI function and state management */ export declare function useAI(options: UseAIOptions): { callAI: (prompt: string, history?: Array) => Promise; reset: () => void; loading: boolean; error: string | null; success: boolean; }; export {}; //# sourceMappingURL=useAI.d.ts.map