@vuedapt/vuebot
Version:
VueBot - AI Chatbot Widget for easy website integration
33 lines • 926 B
TypeScript
import './styles/index.scss';
import './components/VueBotWidget.scss';
import './components/ChatButton.scss';
import './components/ChatWindow.scss';
import './components/MessageList.scss';
import './components/MessageInput.scss';
export interface VueBotConfig {
apiKey: string;
apiBaseUrl?: string;
position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
primaryColor?: string;
secondaryColor?: string;
textColor?: string;
backgroundColor?: string;
botName?: string;
botAvatar?: string;
collapsed?: boolean;
showOnLoad?: boolean;
zIndex?: number;
greetingMessage?: string;
darkTheme?: boolean;
}
declare global {
interface Window {
VueBot: {
init: (config: VueBotConfig) => void;
open: () => void;
close: () => void;
toggle: () => void;
};
}
}
//# sourceMappingURL=standalone.d.ts.map