import { Device } from "./device"; import { IDeviceInterface } from "../interfaces"; import * as Consts from "../consts"; /** * @class HubLED * @extends Device */ export declare class HubLED extends Device { constructor(hub: IDeviceInterface, portId: number); /** * Set the color of the LED on the Hub via a color value. * @method HubLED#setColor * @param {Color} color * @returns {Promise} Resolved upon completion of command. */ setColor(color: number | boolean): Promise | undefined; /** * Set the color of the LED on the Hub via RGB values. * @method HubLED#setRGB * @param {number} red * @param {number} green * @param {number} blue * @returns {Promise} Resolved upon completion of command. */ setRGB(red: number, green: number, blue: number): Promise | undefined; } export declare enum Mode { COLOR = 0, RGB = 1 }