import { default as React, ReactNode } from 'react';
import { default as XmppClient } from '../networking/xmppClient';
import { IConfig, xmppSettingsInterface } from '../types/types';

interface XmppContextType {
    client: XmppClient;
    setClient: (client: XmppClient | null) => void;
    initializeClient: (password: string, email: string, xmppSettings?: xmppSettingsInterface) => Promise<XmppClient>;
}
interface XmppProviderProps {
    children: ReactNode;
    config?: IConfig;
}
export declare const XmppProvider: React.FC<XmppProviderProps>;
export declare const useXmppClient: () => XmppContextType;
export {};
