1 | import { useSetAtom } from 'jotai/react';
|
2 | import { 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, [
|
6 | typeof RESET
|
7 | ], unknown>, options?: Options): () => unknown;
|
8 | export {};
|
9 | declare type Awaited<T> = T extends Promise<infer V> ? V : T; |
\ | No newline at end of file |