import { Provider } from 'react'; /** Creates a React context and and an associated context hook * @param defaultValue The default value for the context * @example * const [MyContextProvider, useMyContext] = makeContext('default value'); * @returns A tuple containing the context provider and the context hook */ export declare function makeContext(defaultValue: T): [Provider, () => T];