import * as React from 'react'; /** * Wrapper hook around `useContext` that throws an error if the context is not provided. * @param context Context to use. Must have a `displayName` for useful errors. */ export declare const useSafeContext: (context: React.Context) => NonNullable;