1 | import React from 'react';
|
2 | import type { Atom, Scope } from './atom';
|
3 | import type { State } from './vanilla';
|
4 | export declare const Provider: React.FC<{
|
5 | initialValues?: Iterable<readonly [Atom<unknown>, unknown]>;
|
6 | scope?: Scope;
|
7 | }>;
|
8 | export declare const getDebugStateAndAtoms: ({ atoms, state, }: {
|
9 | atoms: Atom<unknown>[];
|
10 | state: State;
|
11 | }) => (State | Atom<unknown>[])[];
|
12 | export declare const subscribeDebugStore: ({ listeners }: {
|
13 | listeners: Set<() => void>;
|
14 | }, callback: () => void) => () => boolean;
|