@iotauz/ai-chat
Version:
A customizable React chatbot component for IOTA SDK
28 lines (23 loc) • 962 B
text/typescript
// Main component export
export { default as ChatbotInterface } from '../components/chatbot-interface';
export type { ChatMessage, FAQItem } from '../components/chatbot-interface';
// Export sound effects hook and type
export { useSoundEffects } from '../hooks';
export type { SoundOptions } from '../hooks/use-sound-effects';
// Re-export useful utils and services
export { chatApi } from '../lib/api-service';
export type {
CreateThreadRequest,
ThreadResponse,
Message,
MessagesResponse,
AddMessageRequest
} from '../lib/api-service';
// Export only the used utils
export { formatDate } from '../lib/utils';
export { getTranslations } from '../lib/translations';
export type { Translations } from '../lib/translations';
// Re-export UI components
export { CallbackModal } from '../components/callback-modal';
export { QuickReplyButtons } from '../components/quick-reply-buttons';
export { TypingIndicator } from '../components/typing-indicator';