import { Reducer } from 'redux'; import { Action } from '.'; /** * This function is a replacement for redux's combineReducers. * The function excepts multiple reducers as arguments and executes them one after the other. * * @template S The type of state consumed and produced by this reducer * * @template A The type of actions the reducer can potentially respond to. * * @param {(Reducer[] | {[name: string]: Reducer}[])} reducers * Any number of reducers, or redcuer maps * * @returns {Reducer} A reducer function that builds a state object. */ export declare function composeReducers( ...reducers: composeReducers.reducerOrMap[] ): Reducer; export declare namespace composeReducers { export type reducerOrMap = Reducer | {[name: string]: Reducer}; } export default composeReducers;