import type { BulbCommands, BulbStatus } from '../types/device.js'; import { SwitchBotDevice } from './base.js'; /** * Color Bulb Device */ export declare class WoBulb extends SwitchBotDevice implements BulbCommands { /** * Returns true if this bulb/strip requires BLE encryption (encryptionKey present) */ private needsEncryption; /** * Encrypts a command if encryption is required for this device */ private maybeEncryptCommand; /** * Verifies the BLE encryption key by attempting a status read with encryption. * Throws an error if the key is invalid or the device rejects the command. */ verifyEncryptionKey(): Promise; /** * Turn on */ turnOn(): Promise; /** * Turn off */ turnOff(): Promise; /** * Set brightness (0-100) */ setBrightness(brightness: number): Promise; /** * Set color temperature (2700-6500K) */ setColorTemperature(temperature: number): Promise; /** * Set color temperature with min/max bounds * For advanced bulbs that support color temperature range control */ setColorTemp(minTemp: number, maxTemp: number, temp: number): Promise; /** * Set RGB color */ setColor(red: number, green: number, blue: number): Promise; /** * Preset effect name to effect ID mapping */ static EFFECTS: Record; /** * Set preset light effect */ setEffect(effectName: string, speed?: number): Promise; /** * Get device status (BLE-first/API-fallback, centralized) */ getStatus(): Promise; /** * Send multiple commands in sequence (all must succeed) * Used for Strip Light 3 and complex light patterns */ sendCommandSequence(commands: Array<() => Promise>): Promise; /** * Send multiple commands (returns true if any succeed) * Used for fallback operations with complex light patterns */ sendMultipleCommands(commands: Array<() => Promise>): Promise; } //# sourceMappingURL=wo-bulb.d.ts.map