import type { Context } from 'react'; /** * @description Like React.useContext but throws when the context's value === undefined. * This is useful when you want to force the context to be present in the React's tree before using it */ export declare const useContext: (context: Context) => T & ({} | null);