UNPKG

383 BTypeScriptView Raw
1import { SECRET_INTERNAL_getScopeContext as getScopeContext } from 'jotai';
2import { Atom } from '../core/atom';
3type Scope = NonNullable<Parameters<typeof getScopeContext>[0]>;
4export declare function useHydrateAtoms(values: Iterable<readonly [
5 Atom<unknown>,
6 unknown
7]>, scope?: Scope): void;
8export {};
9declare type Awaited<T> = T extends Promise<infer V> ? V : T;
\No newline at end of file