1 | import { SECRET_INTERNAL_getScopeContext as getScopeContext } from 'jotai';
|
2 | import { WritableAtom } from 'jotai';
|
3 | import { RESET } from './constants';
|
4 | type Scope = NonNullable<Parameters<typeof getScopeContext>[0]>;
|
5 | export declare function useResetAtom<Value>(anAtom: WritableAtom<Value, typeof RESET>, scope?: Scope): () => void;
|
6 | export {};
|
7 | declare type Awaited<T> = T extends Promise<infer V> ? V : T; |
\ | No newline at end of file |