import "./chunk-PXG64RU4.js";

// src/environmentManager.ts
import { isServer } from "./utils.js";
var environmentManager = /* @__PURE__ */ (() => {
  let isServerFn = () => isServer;
  return {
    /**
     * Returns whether the current runtime should be treated as a server environment.
     */
    isServer() {
      return isServerFn();
    },
    /**
     * Overrides the server check globally.
     */
    setIsServer(isServerValue) {
      isServerFn = isServerValue;
    }
  };
})();
export {
  environmentManager
};
//# sourceMappingURL=environmentManager.js.map