import * as React from "react"; export type ScopedProps< P, K extends string > = P & { [Key in `__scope${K}`]? : Scope }; export declare function createContext(rootComponentName: string, defaultContext?: ContextValueType): readonly [(props: ContextValueType & { children: React.ReactNode; }) => React.JSX.Element, (consumerName: string) => Exclude]; type ScopeHook = (scope: Scope) => { [__scopeProp: string]: Scope; }; export type Scope = { [scopeName: string]: React.Context[]; } | undefined; export interface CreateScope { scopeName: string; (): ScopeHook; } export declare function createContextScope(scopeName: string, createContextScopeDeps?: CreateScope[]): readonly [(rootComponentName: string, defaultContext?: ContextValueType) => readonly [(props: ContextValueType & { scope: Scope; children: React.ReactNode; }) => import("react/jsx-runtime").JSX.Element, (consumerName: string, scope: Scope, options?: { warn?: boolean; fallback?: Partial; }) => ContextValueType], CreateScope]; export {}; //# sourceMappingURL=create-context.d.ts.map