1 | import type { WritableAtom } from 'jotai';
|
2 | import { RESET } from './constants';
|
3 | type SetStateActionWithReset<Value> = Value | typeof RESET | ((prev: Value) => Value | typeof RESET);
|
4 | export declare function atomWithReset<Value>(initialValue: Value): WritableAtom<Value, SetStateActionWithReset<Value>, void>;
|
5 | export {};
|
6 |
|
\ | No newline at end of file |