declare module "power-reducers/set-simple"; import { Reducer, CreateReducerOption, CreateReduerOptionCustom } from "../models"; export type SetSimpleState = T[]; /* create reducer */ export interface SetSimpleCreateReducerOptions { initial?: T[]; setOn?: CreateReducerOption; addOn?: CreateReducerOption; removeOn?: CreateReducerOption; resetOn?: CreateReducerOption; emptyOn?: CreateReducerOption; _customHandlers?: CreateReduerOptionCustom>; } export type SetSimpleStateGenerator = (data?: T[]) => SetSimpleState; export function createReducer( opt?: SetSimpleCreateReducerOptions ): [ Reducer>, { generateState: SetSimpleStateGenerator; getInitialState(): SetSimpleState; } ];