/** @noSelfInFile */ import { FunctionComponent } from "./Component"; import { Children, EmptyObject } from "./element"; import { ComponentClass, Instance } from "./reconciler"; export declare let i: number; export declare type Context = { id: number; Consumer: FunctionComponent<{ children: (value: T) => Children; }>; Provider: ComponentClass<{ value: T; }, EmptyObject, unknown, { sub: (instance: Instance) => void; }> & { context: Context; }; defaultValue: T; }; export declare const createContext: (defaultValue: T) => Context;