import { TEventsV1Event } from './types';
type TState = {
    order: string[];
    byKey: Record<string, TEventsV1Event>;
};
type TAction = {
    type: 'RESET';
    items: TEventsV1Event[];
} | {
    type: 'APPEND_PAGE';
    items: TEventsV1Event[];
} | {
    type: 'UPSERT';
    item: TEventsV1Event;
} | {
    type: 'REMOVE';
    key: string;
};
export declare const reducer: (state: TState, action: TAction) => TState;
export {};
