type Mutator = (draft: T, ...args: Args) => Return; export declare function makeDraftSafe( fn: Mutator, ): typeof fn;