import * as React from 'react'; export type Context = React.Context & { Provider: React.FC>; Consumer: never; }; export type CreateContextOptions = { strict?: boolean; }; export type ContextListener = (value: Value) => void; export type ContextSelector = (value: Value) => SelectedValue; export type ContextValue = { subscribe: (listener: ContextListener) => any; value: Value; };