@felixgeelhaar/govee-api-client
Version:
Enterprise-grade TypeScript client library for the Govee Developer REST API
21 lines • 600 B
TypeScript
export declare class ColorTemperature {
private readonly _kelvin;
constructor(kelvin: number);
private validateKelvin;
get kelvin(): number;
equals(other: ColorTemperature): boolean;
toString(): string;
toObject(): {
kelvin: number;
};
static fromObject(obj: {
kelvin: number;
}): ColorTemperature;
static warmWhite(): ColorTemperature;
static coolWhite(): ColorTemperature;
static daylight(): ColorTemperature;
isWarm(): boolean;
isCool(): boolean;
isNeutral(): boolean;
}
//# sourceMappingURL=ColorTemperature.d.ts.map