UNPKG

684 BTypeScriptView Raw
1import { AnyAction, Reducer } from 'redux';
2import { PathSelector } from './selectors';
3/**
4 * @param rootReducer Call this on your root reducer to enable SubStore
5 * functionality for pre-configured stores (e.g. using NgRedux.provideStore()).
6 * NgRedux.configureStore
7 * does it for you under the hood.
8 */
9export declare function enableFractalReducers(rootReducer: Reducer<any, AnyAction>): Reducer<any, AnyAction>;
10/** @hidden */
11export declare function registerFractalReducer(basePath: PathSelector, localReducer: Reducer<any, AnyAction>): void;
12/** @hidden */
13export declare function replaceLocalReducer(basePath: PathSelector, nextLocalReducer: Reducer<any, AnyAction>): void;