1 | import { PropsWithChildren } from 'react';
|
2 | import { Atom } from './atom';
|
3 | import { getScopeContext } from './contexts';
|
4 | import { ScopeContainer } from './contexts';
|
5 | import { createStoreForExport } from './store';
|
6 | type Scope = NonNullable<Parameters<typeof getScopeContext>[0]>;
|
7 | export declare const Provider: ({ children, initialValues, scope, unstable_createStore, unstable_enableVersionedWrite, }: PropsWithChildren<{
|
8 | initialValues?: Iterable<readonly [
|
9 | Atom<unknown>,
|
10 | unknown
|
11 | ]>;
|
12 | scope?: Scope;
|
13 | |
14 |
|
15 |
|
16 | unstable_createStore?: typeof createStoreForExport;
|
17 | |
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | unstable_enableVersionedWrite?: boolean;
|
25 | }>) => import("react").FunctionComponentElement<import("react").ProviderProps<ScopeContainer>>;
|
26 | export {};
|
27 | declare type Awaited<T> = T extends Promise<infer V> ? V : T; |
\ | No newline at end of file |