import { Device } from "./device.js"; import { IDeviceInterface } from "../interfaces.js"; import * as Consts from "../consts.js"; /** * @class Light * @extends Device */ export declare class Light extends Device { constructor(hub: IDeviceInterface, portId: number); /** * Set the light brightness. * @param {number} brightness Brightness value between 0-100 (0 is off) * @param {number} brightness Brightness value between 0-100 (0 is off) * @param {boolean} [interrupt=false] If true, previous commands are discarded. * @returns {Promise} Resolved upon completion of command. */ setBrightness(brightness: number, interrupt?: boolean): Promise | undefined; /** * Ramp the light brightness. * @param {number} fromBrightness Brightness value between 0-100 (0 is off) * @param {number} toBrightness Brightness value between 0-100 (0 is off) * @param {number} time How long the ramp should last (in milliseconds). * @returns {Promise} Resolved upon completion of command. */ rampBrightness(fromBrightness: number, toBrightness: number, time: number): Promise | undefined; } //# sourceMappingURL=light.d.ts.map