import { useSetAtom } from 'jotai/react'; import { RESET } from 'jotai/vanilla/utils'; import type { WritableAtom } from 'jotai/vanilla'; type Options = Parameters[1]; export declare function useResetAtom(anAtom: WritableAtom, options?: Options): () => T; export {}; declare type Awaited = T extends Promise ? V : T;