import { IAction } from '@zaibot/fsa/es5'; import { IResourceDescriptor } from '.'; export interface IState { readonly error: Error; readonly list: T[]; readonly loading: false | { time: number; }; readonly params: any; } export declare function makeReducer(descriptor: IResourceDescriptor): (state: IState, action: IAction) => IState;