import { ObjectSchema, Schema } from 'enty'; import { State, Action } from './util/definitions'; export default function EntityReducerFactory(config: { schema?: Schema | ObjectSchema; }): (previousState: State | null, { type, payload, meta }: Action) => State;