import type { Context } from 'react'; import type { Atom } from './atom'; import { createStoreForExport } from './store'; import type { Store } from './store'; type Scope = symbol | string | number; type VersionedWrite = (write: (version?: object) => void) => void; 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; type ScopeContext = Context; export declare const getScopeContext: (scope?: Scope) => ScopeContext; export {};