import { TYPE } from "../constants.js";
var type_default = class {
	constructor() {
		this.type = TYPE.ALL;
	}
	get() {
		return this.type;
	}
	set(e) {
		if (this.type && this.type !== e) throw Error("Cannot change both RGB and HSL channels at the same time");
		this.type = e;
	}
	reset() {
		this.type = TYPE.ALL;
	}
	is(e) {
		return this.type === e;
	}
};
export { type_default as default };
