import { CharacteristicValue } from 'homebridge'; import { SmartRentPlatform } from '../platform'; import type { SmartRentAccessory } from '.'; import { WSEvent } from '../lib/client'; /** * Lock Accessory * An instance of this class is created for each accessory the platform registers * Each accessory may expose multiple services of different service types. */ export declare class LockAccessory { private readonly platform; private readonly accessory; private service; private battery; private state; constructor(platform: SmartRentPlatform, accessory: SmartRentAccessory); private _getLockStateCharacteristicValue; /** * Handle requests to get the current value of the "Battery Level" characteristic */ handleBatteryLevelGet(): Promise; /** * Handle requests to get the current value of the "Lock Current State" characteristic */ handleLockCurrentStateGet(): Promise; /** * Handle requests to get the current value of the "Lock Target State" characteristic */ handleLockTargetStateGet(): Promise; /** * Handle requests to set the "Lock Target State" characteristic */ handleLockTargetStateSet(value: CharacteristicValue): Promise; /** * Handle lock websocket events */ handleLockEvent(event: WSEvent): Promise; /** * Refresh the current state of the lock using the SmartRent API HTTP request in intervals */ updateStateTask(): Promise; } //# sourceMappingURL=lock.d.ts.map