import * as React from 'react'; export const TooltipPortalContext = /*#__PURE__*/React.createContext(undefined); export function useTooltipPortalContext() { const value = React.useContext(TooltipPortalContext); if (value === undefined) { throw new Error('Base UI: is missing.'); } return value; }