UNPKG

238 BTypeScriptView Raw
1import type { WritableAtom } from 'jotai';
2import type { Scope } from '../core/atom';
3import { RESET } from './constants';
4export declare function useResetAtom<Value>(anAtom: WritableAtom<Value, typeof RESET>, scope?: Scope): () => void;