1 | import type { Draft } from 'immer';
|
2 | import type { PrimitiveAtom, WritableAtom } from 'jotai';
|
3 | export declare function withImmer<Value>(anAtom: PrimitiveAtom<Value>): WritableAtom<Value, Value | ((draft: Draft<Value>) => void)>;
|
4 | export declare function withImmer<Value>(anAtom: WritableAtom<Value, Value>): WritableAtom<Value, Value | ((draft: Draft<Value>) => void)>;
|