import { IMessage, IRoom } from '../types/types';

export declare const useMessageQueue: (rooms: {
    [jid: string]: IRoom;
}, activeRoomJID: string, loadMessages: (roomJid: string, max: number, before?: number) => Promise<IMessage[]>) => void;
