import * as React from 'react'; /** * Creates a React context with a companion hook that throws * if used outside of the context provider. * * @param displayName - Component name shown in error messages and React DevTools * @returns Tuple of [Context, useSafeContext] */ export declare function createSafeContext(displayName: string): readonly [React.Context, () => T];