import { ReactNode } from './types.js'; import { ConstructPackage, TungstenSimpleComponent } from '../Components.js'; interface Context { Provider: typeof Provider; Consumer: typeof Consumer; displayName?: string | undefined; } export declare function createContext(defaultValue: T): Context; type ProviderProps = { value: T; children?: ReactNode | undefined; }; declare class Provider extends TungstenSimpleComponent> { content: () => ReactNode; } type ConsumerProps = { children: (contextValue: T) => ReactNode; }; declare class Consumer extends TungstenSimpleComponent> { contextValue: T; constructor(pkg: ConstructPackage, undefined>); content: () => ReactNode; } export {}; //# sourceMappingURL=context.d.ts.map