import * as React from 'react'; declare function createContext(rootComponentName: string, defaultContext?: ContextValueType): readonly [React.FC, (consumerName: string) => ContextValueType]; type Scope = { [scopeName: string]: React.Context[]; } | undefined; type ScopeHook = (scope: Scope) => { [__scopeProp: string]: Scope; }; interface CreateScope { scopeName: string; (): ScopeHook; } declare function createContextScope(scopeName: string, createContextScopeDeps?: CreateScope[]): readonly [(rootComponentName: string, defaultContext?: ContextValueType | undefined) => readonly [React.FC; children: React.ReactNode; }>, (consumerName: string, scope: Scope) => ContextValueType], CreateScope]; export { type CreateScope, type Scope, createContext, createContextScope };