import { PlatformAccessory, CharacteristicValue } from 'homebridge'; import { IKHomeBridgeHomebridgePlatform } from '../platform'; import { BaseService } from './baseService'; import { MultiServiceAccessory } from '../multiServiceAccessory'; import { ShortEvent } from '../webhook/subscriptionHandler'; export declare class WindowCoveringService extends BaseService { private targetPosition; private timer; private states; private currentPositionState; private useWindowShadeLevel; constructor(platform: IKHomeBridgeHomebridgePlatform, accessory: PlatformAccessory, componentId: string, capabilities: string[], multiServiceAccessory: MultiServiceAccessory, name: string, deviceStatus: any); /** * Handle "SET" requests from HomeKit * These are sent when the user changes the state of an accessory, for example, turning on a Light bulb. */ setTargetPosition(value: CharacteristicValue): Promise; getTargetPosition(): Promise; getCurrentPositionState(): Promise; /** * Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory, for example, checking if a Light bulb is on. * * GET requests should return as fast as possbile. A long delay here will result in * HomeKit being unresponsive and a bad user experience in general. * * If your device takes time to respond you should update the status of your device * asynchronously instead using the `updateCharacteristic` method instead. * @example * this.service.updateCharacteristic(this.platform.Characteristic.On, true) */ getCurrentPosition(): Promise; processEvent(event: ShortEvent): void; } //# sourceMappingURL=windowCoveringService.d.ts.map