import * as v from "@zwave-js/core/validation";
export function validateArgs_BasicWindowCoveringCCAPI_startLevelChange() {
    return (__decoratedMethod, { kind }) => {
        if (kind === "method") {
            return function startLevelChange(direction) {
                v.assert(v.oneOf({ kind: "parameter", name: "direction" }, undefined, v.literal({ kind: "parameter", name: "direction" }, "up"), v.literal({ kind: "parameter", name: "direction" }, "down"))(direction));
                return __decoratedMethod.call(this, direction);
            };
        }
    };
}
export function validateArgs_BasicWindowCoveringCCAPI_stopLevelChange() {
    return (__decoratedMethod, { kind }) => {
        if (kind === "method") {
            return function stopLevelChange() {
                v.assert();
                return __decoratedMethod.call(this);
            };
        }
    };
}
//# sourceMappingURL=BasicWindowCoveringCC._validateArgs.js.map