import * asReactfrom'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.
*/exportdeclareconstuseSafeContext: <T>(context: React.Context<T>) =>NonNullable<T>;