@di-zed/yandex-smart-home
Version:
The Yandex Smart Home skills for the different device types.
27 lines (26 loc) • 649 B
TypeScript
import { MqttInterface, MqttTopicInterface } from '../interfaces/mqttInterface';
/**
* MQTT Repository.
*/
declare class MqttRepository {
/**
* Cached Config.
*
* @protected
*/
protected config: MqttInterface | undefined;
/**
* Get MQTT information from the Configuration file.
*
* @returns Promise<MqttInterface>
*/
getConfig(): Promise<MqttInterface>;
/**
* Get Topics from the Configuration file.
*
* @returns Promise<MqttTopicInterface[]>
*/
getConfigTopics(): Promise<MqttTopicInterface[]>;
}
declare const _default: MqttRepository;
export default _default;