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