const INLINE_OVERLAYS = /* @__PURE__ */ new Set([
  "slash-autocomplete",
  "resource-autocomplete"
]);
function getOverlayPresentation(activeOverlay, approval) {
  if (approval) return "focus";
  if (activeOverlay === "none") return "none";
  if (INLINE_OVERLAYS.has(activeOverlay)) return "inline";
  return "focus";
}
function shouldHideCliChrome(activeOverlay, approval) {
  return getOverlayPresentation(activeOverlay, approval) === "focus";
}
function shouldHideStatusChrome(activeOverlay, approval) {
  if (approval) return true;
  return activeOverlay !== "none";
}
export {
  getOverlayPresentation,
  shouldHideCliChrome,
  shouldHideStatusChrome
};
