/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Observable } from "#general";
import { LowPowerBehavior } from "./LowPowerBehavior.js";
class LowPowerServer extends LowPowerBehavior {
  sleep() {
    this.events.enterLowPowerMode.emit();
  }
}
((LowPowerServer2) => {
  class Events extends LowPowerBehavior.Events {
    enterLowPowerMode = Observable();
  }
  LowPowerServer2.Events = Events;
})(LowPowerServer || (LowPowerServer = {}));
export {
  LowPowerServer
};
//# sourceMappingURL=LowPowerServer.js.map
