import * as mqtt from 'mqtt'; import { DeviceConfig } from './interfaces/device-config.interface.js'; /** * HisenseMQTTClient * This class is used to interact with the MQTT server on the TV * We also store all useful topics in this class * */ export declare class HisenseMQTTClient { deviceConfig: Pick; private log; _BASE_TOPIC: string; _STATE_TOPIC: string; _DEVICE_TOPIC: string; _COMMUNICATION_TOPIC: string; _SOURCE_LIST_TOPIC: string; _APP_LIST_TOPIC: string; _PICTURE_SETTINGS_TOPIC: string; _DEVICE_PICTURE_SETTINGS_TOPIC: string; mqttClient: mqtt.MqttClient; constructor(deviceConfig: Pick, macaddress: string, log: { error: (message: string) => void; }, connectionTimeout?: number); callService(service: string, action: string, payload?: string): void; changeSource(sourceId: string): void; /** * Send a command to the TV to open an app * Different TVs need different parameters (appId is mandatory for some for others it is not) */ changeApp(name: string, appId: string, url: string, urlType: number | string, storeType: number): void; sendKey(key: any): void; subscribe(topic: string): void; sendAuthCode(code: string): void; }