import * as React from "react"; export function createContext(rootComponentName: string, defaultContext?: ContextValueType): readonly [{ (props: ContextValueType & { children: React.ReactNode; }): JSX.Element; displayName: string; }, (consumerName: string) => ContextValueType]; export type Scope = { [scopeName: string]: React.Context[]; } | undefined; type ScopeHook = (scope: Scope) => { [__scopeProp: string]: Scope; }; export interface CreateScope { scopeName: string; (): ScopeHook; } export function createContextScope(scopeName: string, createContextScopeDeps?: CreateScope[]): readonly [(rootComponentName: string, defaultContext?: ContextValueType | undefined) => readonly [{ (props: ContextValueType & { scope: Scope; children: React.ReactNode; }): JSX.Element; displayName: string; }, (consumerName: string, scope: Scope) => ContextValueType], CreateScope]; //# sourceMappingURL=index.d.ts.map