import { Appliance } from '../interfaces';
import { CharacteristicValue } from 'homebridge';
import { ConnectLifeAcPlatformPlugin } from '../platform';
export declare class ConnectLifeApi {
    private readonly loginID;
    private readonly password;
    private readonly options;
    constructor(loginID: string, password: string, options?: {
        debugMode?: boolean;
        log?: ConnectLifeAcPlatformPlugin['log'];
    });
    getAccessToken(): Promise<any>;
    getDeviceIdByNickName(deviceNickName: string): Promise<string | undefined>;
    changeDeviceProperties<T extends keyof Appliance['statusList']>(deviceNickname: string, properties: Record<T, CharacteristicValue>): Promise<void>;
    getDeviceProperties<T extends Record<string, 'integer' | 'string'>>(deviceNickname: string, properties: T): Promise<Record<keyof T, T[keyof T] extends "integer" ? number : string> | {
        [x: string]: string | number;
    }>;
}
