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