import { Composable } from "./blueprint"; import { Mapper } from "./types"; export declare type Reducer = (s: TState, a: TAction) => TState; export declare function withReducer(stateName: string | symbol, dispatcherName: string | symbol, reducer: Reducer, initialValue: Object | Mapper): Composable; export declare function withReducer(stateName: TPropNames, dispatcherName: TPropNames, reducer: Reducer, initialValue: TPropsValue | Mapper): Composable; export default withReducer;