import { IAction } from '@zaibot/fsa/es5'; import { IEditorDescriptor, IEditorOptions } from '.'; export interface IState { readonly creating: boolean; readonly deleting: boolean; readonly error: string; readonly item: Partial; readonly reading: boolean; readonly updating: boolean; } export declare function makeEditorReducer(descriptor: IEditorDescriptor, options: IEditorOptions): (state: IState, action: IAction) => IState;