import { Element } from 'ltx';
import { default as XmppClient } from './xmppClient';

declare const onRealtimeMessage: (stanza: Element) => Promise<import('../types/types').IMessage>;
declare const onReactionMessage: (stanza: Element) => Promise<void>;
declare const onDeleteMessage: (stanza: Element) => Promise<void>;
declare const onEditMessage: (stanza: Element) => Promise<void>;
declare const onReactionHistory: (stanza: any) => Promise<void>;
declare const onMessageHistory: (stanza: any) => Promise<void>;
declare const handleComposing: (stanza: Element, currentUser: string) => Promise<void>;
declare const onPresenceInRoom: (stanza: Element | any) => void;
declare const onChatInvite: (stanza: Element, client: XmppClient) => Promise<void>;
declare const onGetMembers: (stanza: Element) => void;
declare const onGetRoomInfo: (stanza: Element) => void;
declare const onGetLastMessageArchive: (stanza: Element) => void;
declare const onNewRoomCreated: (stanza: Element, xmpp: any) => void;
declare const onGetChatRooms: (stanza: Element, xmpp: any) => void;
declare const onRoomKicked: (stanza: Element) => Promise<void>;
export { onRealtimeMessage, onMessageHistory, onPresenceInRoom, onReactionHistory, onGetLastMessageArchive, handleComposing, onGetChatRooms, onNewRoomCreated, onGetMembers, onGetRoomInfo, onDeleteMessage, onEditMessage, onReactionMessage, onChatInvite, onRoomKicked, };
