import type { Context } from 'react'; import type { Atom, Scope } from './atom'; import { createStoreForExport } from './store'; import type { Store } from './store'; declare type VersionedWrite = (write: (version?: object) => void) => void; declare type RetryFromError = (fn: () => void) => void; export interface ScopeContainer { s: Store; w?: VersionedWrite; v?: object; r?: RetryFromError; } export declare const createScopeContainer: (initialValues?: Iterable, unknown]>, unstable_createStore?: typeof createStoreForExport) => ScopeContainer; declare type ScopeContext = Context; export declare const getScopeContext: (scope?: Scope) => ScopeContext; export {};