import React from 'react'; interface ChatContextType { chat: any; messages: any[]; isTypingUser: any; sendMessage: (text: string, callback?: () => void) => void; setBotUserData: (data: Object) => void; userIsTyping: () => void; emitMessageBotUser: ({ message, prompt }: { message?: string; prompt?: string; }) => void; isAdmin: boolean; refreshChatLocalStorage: (botId: string) => void; chatId: string | null; additionalFunctions: any; hasUnreadMessages: boolean; setHasUnreadMessages: (hasUnreadMessages: boolean) => void; bubbleVisible: boolean; setBubbleVisible: (bubbleVisible: boolean) => void; } export declare const ChatContext: React.Context; export declare const ChatProvider: ({ domain, botId, isAdmin, chatId: startChatId, botUserId: startBotUserId, postLocalStorage, preview, additionalFunctions, contexts, children, }: { domain?: string | undefined; botId: string; isAdmin?: boolean | undefined; chatId?: string | null | undefined; botUserId?: string | null | undefined; postLocalStorage?: boolean | null | undefined; preview?: boolean | undefined; contexts?: string[] | null | undefined; additionalFunctions?: any; children: React.ReactNode; }) => import("react/jsx-runtime").JSX.Element | null; export declare const useChat: () => ChatContextType; export {};