/// <reference types="node" />
import { EventEmitter } from 'events';
export default class XmppHelper extends EventEmitter {
    private _identity;
    private _connected;
    private _XMPP_HOST;
    private _JID_SUFFIX;
    private _XMPP_INCOMING_EVENT;
    private _client;
    constructor(params: {
        identity: string;
        password: string;
    }, constants: {
        XMPP_HOST: string;
        JID_SUFFIX: string;
        XMPP_INCOMING_EVENT: string;
    });
    readonly connected: boolean;
    disconnect(): void;
    connect(): void;
    _subscribe(): void;
    _JID(): string;
    _initClient(): void;
}
