import { ReactNode } from 'react'; import { MessageModel } from '../types'; import { UseAssistantProps } from '../hooks/use-assistant'; /** * Type of AiAssistantProps. * * @param theme - The theme of the assistant. * @param welcomeMessage - The welcome message of the assistant. * @param historyMessages - The history messages of the assistant. * @param ideas - The ideas of the assistant. * @param userAvatar - The avatar of the user. * @param assistantAvatar - The avatar of the assistant. * @param isMessageDraggable - The flag to indicate if the message is draggable. * @param enableVoice - The flag to indicate if the voice is enabled. * @param enableScreenCapture - The flag to indicate if the screen capture is enabled. * @param screenCapturedBase64 - The screen captured base64. * @param screenCapturedPrompt - The screen captured prompt. * @param onScreenshotClick - The callback function to handle the screenshot click. * @param onRemoveScreenshot - The callback function to handle the screenshot remove. * @param onFeedback - The callback function to handle the feedback. * @param onMessagesUpdated - The callback function to handle the messages updated. * @param onRestartChat - The callback function to handle the restart chat. * @param fontSize - The font size of the assistant. */ export type AiAssistantProps = UseAssistantProps & { theme?: 'dark' | 'light'; welcomeMessage: string; historyMessages?: MessageModel[]; ideas?: { title: string; description: string; }[]; userAvatar?: ReactNode | string; assistantAvatar?: ReactNode | string; isMessageDraggable?: boolean; enableVoice?: boolean; enableScreenCapture?: boolean; screenCapturedBase64?: string; screenCapturedPrompt?: string; onScreenshotClick?: () => void; onRemoveScreenshot?: () => void; onFeedback?: (question: string) => void; onMessagesUpdated?: (messages: MessageModel[]) => void; onRestartChat?: () => void; fontSize?: string; botMessageClassName?: string; userMessageClassName?: string; githubIssueLink?: string; }; /** * Main AI Assistant component for React applications * @component * @param {AiAssistantProps} props - The props of the Assistant component. See {@link AiAssistantProps} for more details. * @returns {JSX.Element} The rendered AI Assistant component * @example * ```tsx * * ``` */ export declare function AiAssistant(props: AiAssistantProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=assistant.d.ts.map