/** * @license * Copyright 2023 Nuraly, Laabidi Aymen * SPDX-License-Identifier: MIT */ import { NrChatbotElement } from './chatbot.component.js'; /** * React wrapper for the nr-chatbot component * * @example * ```jsx * import { NrChatbot } from '@nuralyui/chatbot/react'; * * function ChatExample() { * const [messages, setMessages] = useState([]); * const [suggestions] = useState([ * { id: '1', text: 'Help with account', enabled: true }, * { id: '2', text: 'Check balance', enabled: true } * ]); * * const handleMessageSent = (event) => { * const newMessage = event.detail.message; * setMessages(prev => [...prev, newMessage]); * }; * * return ( * * ); * } * ``` */ export declare const NrChatbot: import("@lit-labs/react").ReactWebComponent; export declare const HyChatbot: import("@lit-labs/react").ReactWebComponent; //# sourceMappingURL=react.d.ts.map