import { DomoticzApiConnector } from '../connectors/DomoticzApiConnector'; import { IdzResult, IdzSunRiseSetResult, IdzVersionResult } from '../types'; declare class SystemManager { domoticzApi: DomoticzApiConnector; constructor(domoticzApi: DomoticzApiConnector); /** * Write a message into Domoticz Logs * @param {String} message */ log(message: string): Promise>; /** * Check Credentials */ login(username: string, password: string, rememberMe: boolean): Promise; /** * Check Credentials */ checkCredentials(): Promise; /** * Check Security Status */ securityStatus(): Promise>; /** * Get various informations about the Domoticz Server */ version(): Promise; /** * Get times (Local time, Sunset, Sunrise, etc.) from Domoticz Server */ datetimes(): Promise; /** * Reboot Domoticz Server */ reboot(): Promise>; /** * Shutdown the Domoticz Server */ shutdown(): Promise>; /** * Start Database backup */ db_backup(): Promise>; /** * Execute database cleanup */ db_vaccum(): Promise>; } export { SystemManager };