import { isServer as n } from "./utils.js";
var v = /* @__PURE__ */ (() => {
  let r = () => n;
  return {
    /**
     * Returns whether the current runtime should be treated as a server environment.
     */
    isServer() {
      return r();
    },
    /**
     * Overrides the server check globally.
     */
    setIsServer(e) {
      r = e;
    }
  };
})();
export {
  v as environmentManager
};
