import { IAction } from '@zaibot/fsa'; import { IBatchDescriptor, IBatchOptions } from './interfaces'; export interface IState { readonly creating: boolean; readonly deleting: boolean; readonly error: string; readonly item: Partial; readonly items: T[]; readonly reading: boolean; readonly updating: boolean; } export declare function makeBatchReducer(descriptor: IBatchDescriptor, options: IBatchOptions): (state: IState, action: IAction) => { item: any; creating: boolean; deleting: boolean; error: string; items: T[]; reading: boolean; updating: boolean; };