"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var electrical_meter_exports = {};
__export(electrical_meter_exports, {
  ElectricalMeterDevice: () => ElectricalMeterDevice,
  ElectricalMeterDeviceDefinition: () => ElectricalMeterDeviceDefinition,
  ElectricalMeterRequirements: () => ElectricalMeterRequirements
});
module.exports = __toCommonJS(electrical_meter_exports);
var import_ElectricalPowerMeasurementServer = require("../behaviors/electrical-power-measurement/ElectricalPowerMeasurementServer.js");
var import_ElectricalEnergyMeasurementServer = require("../behaviors/electrical-energy-measurement/ElectricalEnergyMeasurementServer.js");
var import_CommodityMeteringServer = require("../behaviors/commodity-metering/CommodityMeteringServer.js");
var import_MutableEndpoint = require("../endpoint/type/MutableEndpoint.js");
var import_SupportedBehaviors = require("../endpoint/properties/SupportedBehaviors.js");
/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
var ElectricalMeterRequirements;
((ElectricalMeterRequirements2) => {
  ElectricalMeterRequirements2.ElectricalPowerMeasurementServer = import_ElectricalPowerMeasurementServer.ElectricalPowerMeasurementServer;
  ElectricalMeterRequirements2.ElectricalEnergyMeasurementServer = import_ElectricalEnergyMeasurementServer.ElectricalEnergyMeasurementServer;
  ElectricalMeterRequirements2.CommodityMeteringServer = import_CommodityMeteringServer.CommodityMeteringServer;
  ElectricalMeterRequirements2.server = {
    mandatory: {
      ElectricalPowerMeasurement: ElectricalMeterRequirements2.ElectricalPowerMeasurementServer,
      ElectricalEnergyMeasurement: ElectricalMeterRequirements2.ElectricalEnergyMeasurementServer
    },
    optional: { CommodityMetering: ElectricalMeterRequirements2.CommodityMeteringServer }
  };
})(ElectricalMeterRequirements || (ElectricalMeterRequirements = {}));
const ElectricalMeterDeviceDefinition = (0, import_MutableEndpoint.MutableEndpoint)({
  name: "ElectricalMeter",
  deviceType: 1300,
  deviceRevision: 1,
  requirements: ElectricalMeterRequirements,
  behaviors: (0, import_SupportedBehaviors.SupportedBehaviors)()
});
Object.freeze(ElectricalMeterDeviceDefinition);
const ElectricalMeterDevice = ElectricalMeterDeviceDefinition;
//# sourceMappingURL=electrical-meter.js.map
