import { Duration } from "@zwave-js/core";
import * as v from "@zwave-js/core/validation";
export function validateArgs_SceneActivationCCAPI_set() {
    return (__decoratedMethod, { kind }) => {
        if (kind === "method") {
            return function set(sceneId, dimmingDuration) {
                v.assert(v.primitive({ kind: "parameter", name: "sceneId" }, "number")(sceneId), v.optional({ kind: "parameter", name: "dimmingDuration" }, v.oneOf({ kind: "parameter", name: "dimmingDuration" }, undefined, v.primitive({ kind: "parameter", name: "dimmingDuration" }, "string"), v.class({ kind: "parameter", name: "dimmingDuration" }, "Duration", Duration)))(dimmingDuration));
                return __decoratedMethod.call(this, sceneId, dimmingDuration);
            };
        }
    };
}
//# sourceMappingURL=SceneActivationCC._validateArgs.js.map