UNPKG

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