import { A as AtomsSnapshot, O as Options$1 } from './types-Bp7I15td.js'; import { useStore, useAtom } from 'jotai/react'; import { WritableAtom, Atom } from 'jotai/vanilla'; import 'jotai/vanilla/store2'; type SnapshotOptions = Options$1 & { /** * Defaults to `false` * * Private are atoms that are used by Jotai libraries internally to manage state. * They're often used internally in atoms like `atomWithStorage` or `atomWithLocation`, etc. to manage state. */ shouldShowPrivateAtoms?: boolean; }; declare function useAtomsSnapshot({ shouldShowPrivateAtoms, ...options }?: SnapshotOptions): AtomsSnapshot; declare function useGotoAtomsSnapshot(options?: Options$1): (snapshot: AtomsSnapshot) => void; type Options = Parameters[0] & { enabled?: boolean; }; declare const useAtomsDebugValue: (options?: Options) => void; type DevtoolOptions = Parameters[1] & { name?: string; enabled?: boolean; }; declare function useAtomDevtools(anAtom: WritableAtom | Atom, options?: DevtoolOptions): void; type DevtoolsOptions = SnapshotOptions & { enabled?: boolean; }; declare function useAtomsDevtools(name: string, options?: DevtoolsOptions): void; export { useAtomDevtools, useAtomsDebugValue, useAtomsDevtools, useAtomsSnapshot, useGotoAtomsSnapshot };