import type { SetStateAction, WritableAtom } from 'jotai/vanilla'; import { RESET } from './constants'; type Read = WritableAtom['read']; export declare function atomWithDefault(getDefault: Read | typeof RESET ], void>): WritableAtom | typeof RESET ], void>; export {}; declare type Awaited = T extends Promise ? V : T;