import { WritableAtom } from 'jotai'; import { RESET } from './constants'; type SetStateActionWithReset = Value | typeof RESET | ((prev: Value) => Value | typeof RESET); export declare function atomWithReset(initialValue: Value): WritableAtom, void>; export {}; declare type Awaited = T extends Promise ? V : T;