import { Characteristic, CharacteristicValue, PlatformAccessory, Service } from 'homebridge'; import { InputSource } from './interfaces/input-source.interface.js'; import { TVApp } from './interfaces/tv-app.interface.js'; /** * InputSourceSubPlatformAccessory * Manages the creation of input sources for the TV accessory. * These can be HDMI inputs or apps. */ export declare class InputSourceSubPlatformAccessory { service: typeof Service; accessory: PlatformAccessory; characteristic: typeof Characteristic; constructor(service: typeof Service, accessory: PlatformAccessory, characteristic: typeof Characteristic); createInputService(displayName: string, subtype: string): Service; /** * Is for creating a single input source that is unknown. */ createUnknownSource(): Service; addTVInputSource(inputSource: InputSource, identifier: number): Service; addAppInputSource(app: TVApp, identifier: number): Service; getInputSourceTypeFromSourceName(sourceName: string): number; removeStaleSources(currentSources: InputSource[], tvService: Service): void; removeStaleApps(currentApps: TVApp[], tvService: Service): void; private removeStaleByPrefix; setCharacteristics(inputService: Service, identifier: number, configuredName: string, sourceName: string, inputType: CharacteristicValue): void; }