UNPKG

sandia-chatbot-widget

Version:

Production-ready Sandia AI Chatbot Widget v3.0 with advanced themes, animations, notifications, and enterprise features

17 lines 584 B
import { Message } from '../types'; interface UseSandiaChatbotProps { chatbotId: string; apiUrl?: string; onMessage?: (message: Message) => void; onError?: (error: Error) => void; } interface UseSandiaChatbotReturn { messages: Message[]; isLoading: boolean; error: string | null; sendMessage: (content: string) => Promise<void>; clearMessages: () => void; } export declare const useSandiaChatbot: ({ chatbotId, apiUrl, onMessage, onError }: UseSandiaChatbotProps) => UseSandiaChatbotReturn; export {}; //# sourceMappingURL=useSandiaChatbot.d.ts.map