import type { CharacteristicValue, PlatformAccessory } from 'homebridge'; import type { MagichomeHomebridgePlatform } from './platform.js'; /** * Magichome Single Color LED Strip Accessory * * Controls MagicHome single color LED strips via HomeKit. * Maps brightness (0-100%) to red channel (0-255). */ export declare class SingleColorLedStrip { private readonly platform; private readonly accessory; private service; private light; private deviceIP; private deviceName; private pollingIntervalMs; private pollingTimer?; /** * Internal state cache - updated immediately and via polling */ private accessoryState; constructor(platform: MagichomeHomebridgePlatform, accessory: PlatformAccessory); /** * Handle on/off requests from HomeKit */ setOn(value: CharacteristicValue): Promise; /** * Handle on/off status requests from HomeKit */ getOn(): Promise; /** * Handle brightness change requests from HomeKit */ setBrightness(value: CharacteristicValue): Promise; /** * Handle brightness status requests from HomeKit */ getBrightness(): Promise; /** * Poll device state and update HomeKit characteristics if changed */ private queryAndUpdateState; /** * Start periodic device polling */ private startPolling; /** * Stop device polling */ private stopPolling; }