interface IActionTypes { create?: string; delete?: string; fetch_all?: string; fetch?: string; update?: string; clear?: string; } interface IAction { type: string; payload: { data: { id: number; }; omit_items: []; preserve_items: []; }; } declare const baseReducer: (actions_types: IActionTypes, state: { [index: string]: {}; }, action: IAction, mapKey?: string) => any; export { baseReducer, IAction };