import { default as React, ReactNode } from 'react';
import { default as XmppClient } from '../networking/xmppClient';
import { IConfig, IRoom, xmppSettingsInterface } from '../types/types';
interface XmppContextType {
    client: XmppClient;
    setClient: (client: XmppClient | null) => void;
    initializeClient: (username: string, password: string, xmppSettings?: xmppSettingsInterface, roomsList?: {
        [jid: string]: IRoom;
    }) => Promise<XmppClient>;
}
interface XmppProviderProps {
    children: ReactNode;
    config?: IConfig;
}
export declare const XmppProvider: React.FC<XmppProviderProps>;
export declare const useXmppClient: () => XmppContextType;
export {};
