import React, { ReactNode } from 'react';
import XmppClient from '../networking/xmppClient';
import { IConfig, ProviderBootstrapStatus, xmppSettingsInterface } from '../types/types';
interface InitMode {
    current: 'provider' | 'chat';
}
interface XmppContextType {
    client: XmppClient | null;
    providerBootstrapStatus: ProviderBootstrapStatus;
    initMode: InitMode['current'];
    setClient: (client: XmppClient | null) => void;
    initializeClient: (username: string, password: string, xmppSettings?: xmppSettingsInterface) => Promise<XmppClient>;
}
interface XmppProviderProps {
    children: ReactNode;
    config?: IConfig;
}
export declare const XmppProvider: React.FC<XmppProviderProps>;
export declare const useXmppClient: () => XmppContextType;
/** Trigger a global xmpp logout — mirrors the web `ethora-xmpp-logout` event. */
export declare function emitXmppLogout(): void;
export {};
//# sourceMappingURL=xmppProvider.d.ts.map