import React from 'react'; import { StoreContextType, IConfigObj, IUserObj } from '../context/types'; export declare const useMessenger: (context?: React.Context) => { getConfig: () => IConfigObj | null; setConfig: (config: IConfigObj | null) => void; initialize: (config: IConfigObj) => WebSocket | null; getIsInit: () => boolean; setIsInit: (isInit: boolean) => void; getConversationList: () => import('../context/types').IConversation[]; setConversationList: (conversationsList: import('../context/types').IConversation[], append?: boolean | undefined) => void; getConversationMessages: (conversationId: string) => import('../context/types').IMessage[]; setConversationMessages: (conversationId: string, messages: import('../context/types').IMessage[], append?: boolean | undefined) => void; getSelectedConversation: () => string; setSelectedConversation: (conversationId: string) => void; getConversationState: (conversationId: string) => any; removeConversation: (conversationId: string) => void; isConversationNew: boolean; getLastConversationMessage: (conversationId?: string | undefined) => import('../context/types').IMessage; findConversation: (conversationId: string) => import('../context/types').IConversation | undefined; getWSInstance: () => WebSocket | null; setWSInstance: (wsInstance: WebSocket | null) => void; getInputMessage: (conversationId?: string | undefined) => string; setInputMessage: (message: string) => void; sendMessage: (payload: any) => void; getErrors: () => import('../context/types').IError[]; clearErrors: () => void; getLoading: () => import('../context/types').ILoadingObj; setLoading: (loadingObj: import('../context/types').ILoadingObj) => void; introMessage: string; setIntroMessage: React.Dispatch>; getUserObj: () => IUserObj; setUserObj: (user: IUserObj) => void; getHasUnread: () => boolean; forceUpdate: boolean; setForceUpdate: () => void; getIsTyping: () => boolean; setIsTyping: (isTyping: boolean) => void; getSendTo: () => import('../context/types').ISendToObj; setSendTo: (values: any) => void; getFaqBody: () => string; setFaqBody: (body: string) => void; getDrafts: () => import('../context/types').IDraft[]; setDrafts: (draftMessages: import('../context/types').IDraft[]) => void; }; export default useMessenger; //# sourceMappingURL=useMessenger.d.ts.map