/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { DeviceClassification } from "#model";
import { DeviceTypeId } from "#types";
function EndpointType(options) {
  return {
    ...options,
    deviceClass: options.deviceClass ?? DeviceClassification.Simple,
    behaviors: options.behaviors ?? {},
    requirements: options.requirements ?? {}
  };
}
((EndpointType2) => {
  EndpointType2.UNKNOWN_DEVICE_TYPE = DeviceTypeId(-1, false);
  EndpointType2.UNKNOWN_DEVICE_REVISION = -1;
})(EndpointType || (EndpointType = {}));
export {
  EndpointType
};
//# sourceMappingURL=EndpointType.js.map
