import { Reducer } from "redux"; import { IAction, IAData, ISingleReducer } from "./action"; export declare type AnyStore = any; export declare type AnyActionData = any; export interface IReducerInfo { callback: ISingleReducer; actionName: string; storeName: string; global: boolean; } export interface IReducerMap { [actionName: string]: { [storeName: string]: { local: ISingleReducer[]; global: ISingleReducer[]; }; }; } export interface ISingleReducerChanging { (part: string, state: ValueInterface, rawAction: IAction): boolean; displayName?: string; } export interface IReducerMapCombined { [actionName: string]: { [storeName: string]: ISingleReducerChanging; }; } export declare function reducerFromNative(native: Reducer): ISingleReducer; export declare function MyCombineReducers(reducers: IReducerInfo[], toplevel?: Reducer): Reducer;