import * as React from "react";
/** @deprecated */
export declare function createNamedContext<ContextValueType>(name: string, defaultValue: ContextValueType): React.Context<ContextValueType>;
type ContextProvider<T> = React.FC<React.PropsWithChildren<T>>;
export declare function createContext<ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType): [
    ContextProvider<ContextValueType>,
    (callerComponentName: string) => ContextValueType
];
export {};
//# sourceMappingURL=context.d.ts.map