export interface BaseAction { type: T; } export interface AnyAction extends BaseAction { [extraProps: string]: any; } export declare type Reducer = (state: S | undefined, action: A) => S; export interface Action

extends BaseAction { payload?: P; } export interface ActionWithPayload

extends BaseAction { payload: P; } export declare type ActionReducer = (state: SliceState, payload: A) => SliceState | void | undefined; export declare type ActionsObjWithSlice = { [K in keyof Ax]: ActionReducer; }; export interface ActionsAny

{ [Action: string]: P; } export interface AnyState { [name: string]: any; } export interface MapEntity { [key: string]: E | undefined; } export declare const excludesFalse: (n?: T | undefined) => n is T; export interface ReducerMap { [Action: string]: ActionReducer; } export interface PatchEntity { [key: string]: Partial; } export interface SliceHelper { name: string; initialState?: State; extraReducers?: ActionsAny; } export interface SliceHelperRequired { name: string; initialState: State; extraReducers?: ActionsAny; } export interface PropId { id: string; } export interface PropIds { ids: string[]; }