import { Draft } from 'immer'; import { WritableAtom } from 'jotai'; import { Scope } from '../core/atom'; export declare function useImmerAtom>(anAtom: WritableAtom) => void, Result>, scope?: Scope): [ Value, (fn: (draft: Draft) => void) => Result ]; export declare function useImmerAtom>(anAtom: WritableAtom Value, Result>, scope?: Scope): [ Value, (fn: (draft: Draft) => void) => Result ];