1 | import type { PropsWithChildren } from 'react';
|
2 | import type { Atom } from './atom';
|
3 | import { getScopeContext } from './contexts';
|
4 | import type { 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 [Atom<unknown>, unknown]>;
|
9 | scope?: Scope;
|
10 | |
11 |
|
12 |
|
13 | unstable_createStore?: typeof createStoreForExport;
|
14 | |
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | unstable_enableVersionedWrite?: boolean;
|
22 | }>) => import("react").FunctionComponentElement<import("react").ProviderProps<ScopeContainer>>;
|
23 | export {};
|