/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { TlvEventNumber } from "../../datatype/EventNumber.js";
import { TlvAny } from "../../tlv/TlvAny.js";
import { TlvEnum, TlvPosixMs, TlvSysTimeMS } from "../../tlv/TlvNumber.js";
import { TlvField, TlvObject, TlvOptionalField } from "../../tlv/TlvObject.js";
import { TlvEventPath } from "./TlvEventPath.js";
const TlvEventData = TlvObject({
  // EventDataIB
  path: TlvField(0, TlvEventPath),
  eventNumber: TlvField(1, TlvEventNumber),
  priority: TlvField(2, TlvEnum()),
  epochTimestamp: TlvOptionalField(3, TlvPosixMs),
  systemTimestamp: TlvOptionalField(4, TlvSysTimeMS),
  deltaEpochTimestamp: TlvOptionalField(5, TlvPosixMs),
  deltaSystemTimestamp: TlvOptionalField(6, TlvSysTimeMS),
  data: TlvOptionalField(7, TlvAny)
});
export {
  TlvEventData
};
//# sourceMappingURL=TlvEventData.js.map
