import { default as React } from 'react'; import { FunctionType, AvatarConfig, AutoGreetMode } from '../api/types'; import { PairComponent } from '../types/pairComponent'; export interface ChatbotProps { apiKey?: string; expertId: string; baseUrl?: string; token?: string; mockSSE?: boolean; showAppsSelection?: boolean; skipWelcomeInput?: boolean; initialPrompt?: string; autoGreet?: AutoGreetMode; autoGreetMessage?: string; autoGreetMessages?: Record; autoGreetPersona?: string; theme?: { primaryColor?: string; secondaryColor?: string; textColor?: string; backgroundColor?: string; fontFamily?: string; borderColor?: string; borderRadius?: string; fontSize?: string; }; onSendMessage?: (message: string, attachments?: File[]) => Promise; onExpertChange?: (expertId: string) => void; style?: React.CSSProperties; className?: string; artifacts?: any[]; showInfoButton?: boolean; showThinking?: boolean; expertName?: string; isProcessingMessage?: boolean; uiTools?: FunctionType[]; internal?: boolean; initialSessionId?: string; avatarConfig?: AvatarConfig; knowledgeBases?: (string | number)[]; replaceExpertKbs?: boolean; showHeader?: boolean; dummy?: boolean; onDummyAction?: (action: string, data?: any) => void; dummyWelcomeMessage?: string; pairComponents?: PairComponent[]; onPairComponentSuccess?: (componentName: string, result: any) => void; onPairComponentError?: (componentName: string, error: Error) => void; appDetails?: any; } declare const ChatbotWithProvider: React.FC; export default ChatbotWithProvider;