import { SECRET_INTERNAL_getScopeContext as getScopeContext } from 'jotai'; import type { Atom } from '../core/atom'; type Scope = NonNullable[0]>; type AnyAtomValue = unknown; type AnyAtom = Atom; type AtomsValues = Map; type AtomsDependents = Map>; type AtomsSnapshot = Readonly<{ values: AtomsValues; dependents: AtomsDependents; }>; /** * @deprecated use object snapshot instead */ type DeprecatedIterableSnapshot = Iterable; export declare function useGotoAtomsSnapshot(scope?: Scope): (snapshot: AtomsSnapshot | DeprecatedIterableSnapshot) => void; export {};