import { __assign } from "tslib";
import { clamp } from '../utils';
export var number = {
    test: function (v) { return typeof v === 'number'; },
    parse: parseFloat,
    transform: function (v) { return v; },
};
export var alpha = __assign(__assign({}, number), { transform: clamp(0, 1) });
export var scale = __assign(__assign({}, number), { default: 1 });
//# sourceMappingURL=index.js.map