import { IConfig } from '../types/types';
import { default as XmppClient } from '../networking/xmppClient';
interface useChatWrapperInitProps {
    roomJID: string | null | undefined;
    wasAutoSelected: boolean;
    config: IConfig;
}
interface useChatWrapperInitResult {
    inited: boolean;
    isRetrying: boolean | 'norooms';
    showModal: boolean;
    setInited: React.Dispatch<React.SetStateAction<boolean>>;
    setShowModal: React.Dispatch<React.SetStateAction<boolean>>;
    client: XmppClient | null;
    setClient: React.Dispatch<React.SetStateAction<XmppClient | null>>;
}
declare const useChatWrapperInit: ({ roomJID, wasAutoSelected, config, }: useChatWrapperInitProps) => useChatWrapperInitResult;
export default useChatWrapperInit;
