import { PlatformAccessory } from 'homebridge';
import { SOMAShadesPlatform } from './platform';
import { SOMADevice } from './somaDevice';
export declare class ShadesAccessory {
    private readonly platform;
    private readonly accessory;
    private readonly somaDevice;
    private service;
    private batteryService;
    /**
     * The HomeKit uses position as percentage from bottom to top. 0 is bottom(fully closed) and 100 is top(fully open)
     * whereas the shades uses the percentage from top to bottom where 100 is bottom(fully closed) and 0 is top(fully open)
     * Here we regulate them to use "HomeKit Standard"
     */
    private shadesState;
    private batteryState;
    private lastMovementDone;
    private firstPoll;
    constructor(platform: SOMAShadesPlatform, accessory: PlatformAccessory, somaDevice: SOMADevice);
    private getBatteryLevel;
    private getChargingState;
    private getLowBatteryState;
    private getPositionState;
    private getCurrentPosition;
    private getTargetPosition;
    private setTargetPosition;
    private poll;
    private doneMoving;
    private sleep;
}
//# sourceMappingURL=platformAccessory.d.ts.map