import { KamanFile } from '../api/FileExplorerAPI'; import { ChatContextType, ChatSession, FunctionType, AvatarConfig, AutoGreetMode } from '../api/types'; import { default as React, ReactNode } from 'react'; interface ChatProviderProps { children: ReactNode; apiKey?: string; baseUrl?: string; token?: string; mockSSE?: boolean; initialSession?: ChatSession; onSendMessage?: (message: string, attachments?: (File | KamanFile)[]) => Promise; expertId: string; showAppsSelection?: boolean; skipWelcomeInput?: boolean; initialPrompt?: string; onExpertChange?: (expertId: string) => void; artifacts: any[]; showInfoButton?: boolean; showThinking?: boolean; expertName?: string; isProcessingMessage?: boolean; uiTools?: FunctionType[]; internal?: boolean; initialSessionId?: string; avatarConfig?: AvatarConfig; knowledgeBases?: (string | number)[]; replaceExpertKbs?: boolean; dummy?: boolean; appDetails?: any; autoGreet?: AutoGreetMode; autoGreetMessage?: string; autoGreetMessages?: Record; autoGreetPersona?: string; } export declare const ChatProvider: React.FC; export declare const useChatContext: () => ChatContextType; export declare function convertFileToBase64URL(file: File): Promise; export {};