import { __esDecorate, __runInitializers } from "tslib";
import { MessagePriority } from "@zwave-js/core";
import { FunctionType, Message, MessageType, messageTypes, priority, } from "@zwave-js/serial";
let EnterBootloaderRequest = (() => {
    let _classDecorators = [messageTypes(MessageType.Request, FunctionType.EnterBootloader), priority(MessagePriority.Controller)];
    let _classDescriptor;
    let _classExtraInitializers = [];
    let _classThis;
    let _classSuper = Message;
    var EnterBootloaderRequest = 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);
            EnterBootloaderRequest = _classThis = _classDescriptor.value;
            if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
            __runInitializers(_classThis, _classExtraInitializers);
        }
        expectsAck() {
            // When this message is used, the driver switches serial parsers,
            // so the ACK will be ignored
            return false;
        }
    };
    return EnterBootloaderRequest = _classThis;
})();
export { EnterBootloaderRequest };
//# sourceMappingURL=EnterBootloaderRequest.js.map