import { __esDecorate, __runInitializers } from "tslib";
import { CommandClasses } from "@zwave-js/core";
import { CommandClass } from "../lib/CommandClass.js";
import { CCCommand, commandClass, implementedVersion, } from "../lib/CommandClassDecorators.js";
import { HailCommand } from "../lib/_Types.js";
// Decorators are applied in the reverse source order, so for @CCCommand to work,
// it must come before @commandClass
let HailCC = (() => {
    let _classDecorators = [CCCommand(HailCommand.Hail), commandClass(CommandClasses.Hail), implementedVersion(1)];
    let _classDescriptor;
    let _classExtraInitializers = [];
    let _classThis;
    let _classSuper = CommandClass;
    var HailCC = class extends _classSuper {
        static { _classThis = this; }
        static {
            const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
            __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
            HailCC = _classThis = _classDescriptor.value;
            if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
            __runInitializers(_classThis, _classExtraInitializers);
        }
    };
    return HailCC = _classThis;
})();
export { HailCC };
//# sourceMappingURL=HailCC.js.map