UNPKG

309 BTypeScriptView Raw
1import { SECRET_INTERNAL_getScopeContext as getScopeContext } from 'jotai';
2import type { Atom } from '../core/atom';
3type Scope = NonNullable<Parameters<typeof getScopeContext>[0]>;
4export declare function useHydrateAtoms(values: Iterable<readonly [Atom<unknown>, unknown]>, scope?: Scope): void;
5export {};