import type { Characteristic, PlatformAccessory, Service } from 'homebridge'; export type StateSensorType = 'power' | 'ambilight' | 'mute'; export interface StateSensorDeps { readonly Service: typeof Service; readonly Characteristic: typeof Characteristic; readonly log: (level: 'debug' | 'info' | 'warn' | 'error', message: string) => void; } /** * Manages MotionSensor services that expose TV states to HomeKit. * Each sensor triggers "motion detected" when the state is active, * enabling HomeKit automations (e.g., "when TV turns on, dim lights"). */ export declare class StateSensorService { private readonly deps; private sensors; constructor(deps: StateSensorDeps); configureSensors(accessory: PlatformAccessory, sensorTypes: StateSensorType[], tvName: string): void; update(type: StateSensorType, active: boolean): void; resetAll(): void; }