UNPKG

homebridge-econet-rheem

Version:

Homebridge plugin for control of Rheem and Ruud thermostats and water heaters

16 lines (15 loc) 589 B
import { PrimitiveTypes } from 'homebridge'; type Storable = PrimitiveTypes | PrimitiveTypes[] | { [key: string]: PrimitiveTypes; }; export declare class Properties { static initStorage(persistPath: string): Promise<void>; static get(identifier: string, key: string, encryptionKey?: string): Storable | undefined; static set(identifier: string, key: string, item: Storable | undefined, encryptionKey?: string): Promise<void>; private static save; private static _save; private static digest; private static encrypt; private static decrypt; } export {};