import { Atom } from './atom'; import { getScopeContext } from './contexts'; import { ExtractAtomValue } from './typeUtils'; declare type Scope = NonNullable[0]>; export declare function useAtomValue(atom: Atom>, scope?: Scope): Value; export declare function useAtomValue(atom: Atom, scope?: Scope): Awaited; export declare function useAtomValue>(atom: AtomType, scope?: Scope): Awaited>; export {}; declare type Awaited = T extends Promise ? V : T;