UNPKG

sandia-chatbot-widget

Version:

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

39 lines 1.11 kB
import { WidgetStyles, ChatConfiguration } from '../types'; interface SandiaGlobal { chatbotId: string; shareToken?: string; styles?: WidgetStyles; chatConfig?: ChatConfiguration; apiUrl?: string; version?: string; metadata?: Record<string, any>; debug?: boolean; onReady?: () => void; onOpen?: () => void; onClose?: () => void; onMinimize?: () => void; onRestore?: () => void; onMessage?: (message: { content: string; role: 'user' | 'assistant'; timestamp: Date; }) => void; onTyping?: (isTyping: boolean) => void; onError?: (error: Error) => void; onSubscriptionError?: (error: { message: string; upgradeRequired?: boolean; }) => void; onFileUpload?: (file: File) => void; onVoiceStart?: () => void; onVoiceEnd?: (transcript: string) => void; } declare global { interface Window { SandiaChatbot?: SandiaGlobal; SandiaChatbotAPI?: any; } } export declare function initSandiaChatbot(config?: SandiaGlobal): void; export {}; //# sourceMappingURL=init.d.ts.map