1 | import { useSetAtom } from 'jotai/react';
|
2 | import type { WritableAtom } from 'jotai/vanilla';
|
3 | import { RESET } from 'jotai/vanilla/utils';
|
4 | type Options = Parameters<typeof useSetAtom>[1];
|
5 | export declare function useResetAtom(anAtom: WritableAtom<unknown, [typeof RESET], unknown>, options?: Options): () => unknown;
|
6 | export {};
|