import type { Characteristic, HapStatusError, PlatformAccessory, Service } from 'homebridge'; import type { PhilipsTVClient } from '../api/PhilipsTVClient.js'; export interface AmbilightHueSwitchDeps { readonly Service: typeof Service; readonly Characteristic: typeof Characteristic; readonly tvClient: PhilipsTVClient; readonly communicationError: () => HapStatusError; readonly log: (level: 'debug' | 'info' | 'warn' | 'error', message: string) => void; } /** * Exposes the TV's "Ambilight + Hue" integration (Philips Hue lamps following * Ambilight) as a dedicated Switch service, so it can be toggled independently * of the main Ambilight controls and used in HomeKit automations and scenes. * * Backed by the JointSpace `/HueLamp/power` endpoint ({"power":"On"|"Off"}). */ export declare class AmbilightHueSwitchService { private readonly deps; private service; private isOn; constructor(deps: AmbilightHueSwitchDeps); configureSwitch(accessory: PlatformAccessory, tvName: string): void; /** Remove the switch service if it exists (when the feature is disabled). */ removeSwitch(accessory: PlatformAccessory): void; private handleGet; private handleSet; /** Force the switch off (e.g. when the TV powers off). */ reset(): void; }