import { PayloadAction } from '@reduxjs/toolkit';
import { IMessage } from '../types/types';
interface roomHeapSliceState {
    messageHeap: [string, IMessage][];
}
export declare const roomHeapSlice: import('@reduxjs/toolkit').Slice<roomHeapSliceState, {
    addMessageToHeap: (state: import('immer').WritableDraft<roomHeapSliceState>, action: PayloadAction<{
        jid: string;
        message: IMessage;
    }>) => void;
    popMessageFromHeap: (state: import('immer').WritableDraft<roomHeapSliceState>) => void;
    clearHeap: (state: import('immer').WritableDraft<roomHeapSliceState>) => void;
}, "roomHeapStore", "roomHeapStore", import('@reduxjs/toolkit').SliceSelectors<roomHeapSliceState>>;
export declare const addMessageToHeap: import('@reduxjs/toolkit').ActionCreatorWithOptionalPayload<{
    jid: string;
    message: IMessage;
}, "roomHeapStore/addMessageToHeap">, popMessageFromHeap: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"roomHeapStore/popMessageFromHeap">, clearHeap: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"roomHeapStore/clearHeap">;
declare const _default: import('redux').Reducer<roomHeapSliceState>;
export default _default;
