declare module "power-reducers/value"; import { Reducer, CreateReducerOption, CreateReduerOptionCustom } from "../models"; export type ValueState = T; /* create reducer */ export interface ValueOptions { initial?: T; setOn?: CreateReducerOption; resetOn?: CreateReducerOption; _customHandlers?: CreateReduerOptionCustom>; } export type ValueStateGenerator = (data?: ValueState) => ValueState; export function createReducer( opt?: ValueOptions ): [ Reducer>, { generateState: ValueStateGenerator; getInitialState(): ValueState } ];