import { Draft, PatchListener } from 'immer'; export { current } from 'immer'; declare const NOTHING: unique symbol; type ValidRecipeReturnType = State | void | undefined | (State extends undefined ? typeof NOTHING : never); interface IProduce { >(// By using a default inferred D, rather than Draft in the recipe, we can override it. base: Base, recipe: (draft: D) => ValidRecipeReturnType, listener?: PatchListener): Base; } export declare const produce: IProduce; //# sourceMappingURL=immer.d.ts.map