@di-zed/yandex-smart-home
Version:
The Yandex Smart Home skills for the different device types.
39 lines (38 loc) • 837 B
TypeScript
/**
* @author DiZed Team
* @copyright Copyright (c) DiZed Team (https://github.com/di-zed/)
*/
import { ConfigInterface } from '../interfaces/configInterface';
/**
* Config Provider.
*/
declare class ConfigProvider {
/**
* Config Interface.
*
* @protected
*/
protected config: ConfigInterface | undefined;
/**
* Set configurations.
*
* @param config
* @returns ConfigProvider
*/
setConfig(config: ConfigInterface): ConfigProvider;
/**
* Get configurations.
*
* @returns ConfigInterface | undefined
*/
getConfig(): ConfigInterface | undefined;
/**
* Get configuration option.
*
* @param key
* @returns any
*/
getConfigOption(key: string): any;
}
declare const _default: ConfigProvider;
export default _default;