import * as v from "@zwave-js/core/validation";
export function validateArgs_ManufacturerProprietaryCCAPI_sendData() {
    return (__decoratedMethod, { kind }) => {
        if (kind === "method") {
            return function sendData(manufacturerId, data) {
                v.assert(v.primitive({ kind: "parameter", name: "manufacturerId" }, "number")(manufacturerId), v.optional({ kind: "parameter", name: "data" }, v.uint8array({ kind: "parameter", name: "data" }))(data));
                return __decoratedMethod.call(this, manufacturerId, data);
            };
        }
    };
}
export function validateArgs_ManufacturerProprietaryCCAPI_sendAndReceiveData() {
    return (__decoratedMethod, { kind }) => {
        if (kind === "method") {
            return function sendAndReceiveData(manufacturerId, data) {
                v.assert(v.primitive({ kind: "parameter", name: "manufacturerId" }, "number")(manufacturerId), v.optional({ kind: "parameter", name: "data" }, v.uint8array({ kind: "parameter", name: "data" }))(data));
                return __decoratedMethod.call(this, manufacturerId, data);
            };
        }
    };
}
//# sourceMappingURL=ManufacturerProprietaryCC._validateArgs.js.map