import type { WritableAtom } from 'jotai/vanilla'; import { RESET } from './constants'; type SetStateActionWithReset = Value | typeof RESET | ((prev: Value) => Value | typeof RESET); type WithInitialValue = { init: Value; }; export declare function atomWithReset(initialValue: Value): WritableAtom], void> & WithInitialValue; export {};