@codedevin/dify-chat
Version:
A beautiful and configurable chatbot widget for Dify integration with multiple display modes
16 lines (15 loc) • 1.14 kB
TypeScript
export { DifyChatbot } from './components/DifyChatbot';
export { DifyFloatingChatbot } from './components/DifyFloatingChatbot';
export { DifyTextSelectionChatbot } from './components/DifyTextSelectionChatbot';
export { Message, TypingIndicator } from './components/Message';
export { ChatInput } from './components/ChatInput';
export { Button } from './components/ui/Button';
export { useDifyChat } from './hooks/useDifyChat';
export { useTheme, applyThemeToElement, removeThemeFromElement, } from './hooks/useTheme';
export { DifyApi } from './api/dify';
export { initDifyChat, cleanupDifyChat } from './utils/init';
export { presetThemes, defaultTheme, lightTheme, darkTheme, } from './themes/presets';
export type { DifyConfig, DifyMessage, DifyAttachment, DifyApiResponse, DifyStreamResponse, ChatTheme, DisplayMode, DifyChatbotProps, FloatingChatbotProps, TextSelectionChatbotProps, ChatInputProps, MessageProps, UseDifyChatOptions, UseDifyChatReturn, } from './types';
export type { PresetThemeName } from './themes/presets';
export { DifyChatbot as default } from './components/DifyChatbot';
//# sourceMappingURL=index.d.ts.map