import type { CharacteristicValue, PlatformAccessory } from 'homebridge'; import { VirtualAccessoriesPlatform } from '../platform.js'; import { AccessoryConfiguration } from '../configuration/configurationAccessory.js'; import { Accessory } from './accessory.js'; import { UpdatableChargingStatus } from './updatableChargingState.js'; /** * Battery - Accessory implementation */ export declare class Battery extends Accessory implements UpdatableChargingStatus { private readonly batteryLevelStorageKey; private readonly chargingStateStorageKey; private lowLevelThreshold; constructor(platform: VirtualAccessoriesPlatform, accessory: PlatformAccessory, accessoryConfiguration: AccessoryConfiguration); getStatusLowBatteryHandler(): Promise; getBatteryLevelHandler(): Promise; getChargingStateHandler(): Promise; protected getJsonState(): string; updateChargingStatus(charging: boolean | undefined, charge: number | undefined, accessoryId: string): void; static get BATTERY_LEVEL_NORMAL(): number; static get BATTERY_LEVEL_LOW(): number; static get NOT_CHARGING(): number; static get CHARGING(): number; static get NOT_CHARGEABLE(): number; static getStatusLowBatteryName(level: number): string; static getChargingStateName(state: number): string; }