import i from "../../../../../../../@base-ui_utils@0.2.4_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/utils/esm/formatErrorMessage.js";
import * as t from "react";
const e = /* @__PURE__ */ t.createContext(void 0);
process.env.NODE_ENV !== "production" && (e.displayName = "TooltipPositionerContext");
function r() {
  const o = t.useContext(e);
  if (o === void 0)
    throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within <Tooltip.Positioner>." : i(71));
  return o;
}
export {
  e as TooltipPositionerContext,
  r as useTooltipPositionerContext
};
