1 | import { SECRET_INTERNAL_getScopeContext as getScopeContext } from 'jotai';
|
2 | import type { 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 {};
|