1 | import { Draft } from 'immer';
|
2 | import { WritableAtom } from 'jotai';
|
3 | export declare function useImmerAtom<Value>(anAtom: WritableAtom<Value, (draft: Draft<Value>) => void>): [Value, (fn: (draft: Draft<Value>) => void) => void];
|
4 | export declare function useImmerAtom<Value>(anAtom: WritableAtom<Value, (value: Value) => Value>): [Value, (fn: (draft: Draft<Value>) => void) => void];
|