import { Reducer } from 'redux'; import { FluxStandardAction, LeafStandardAction, LeafCompoundAction } from './types/action.type'; import LeafReducer from './types/reducer.type'; import { Actions } from './types/actions.type'; declare type Action = FluxStandardAction | LeafStandardAction | LeafCompoundAction; /** * * @param initialState - Initial state of the reducer * @param reducersDict - Object of leaf reducer definitions keyed by creatorKeys * * @template TS - TreeShape * @template RD - Dictionary of LeafReducer.Definition */ declare function reduxLeaves(initialState: TS, reducersDict?: RD): [Reducer, Actions.Branch]; export { reduxLeaves }; export default reduxLeaves;