import * as React from 'react'; /** * Creates a strict context pair — a Provider and a hook that throws * if used outside the Provider. * * @param name - Display name for error messages * @returns A tuple of [Provider, useSafeContext] * * @example * ```tsx * const [ThemeProvider, useTheme] = getStrictContext('ThemeProvider'); * * function App() { * return ( * * * * ); * } * ``` */ declare function getStrictContext(name?: string): readonly [ ({ value, children, }: { value: T; children?: React.ReactNode; }) => React.JSX.Element, () => T ]; export { getStrictContext }; //# sourceMappingURL=get-strict-context.d.ts.map