import { StorageService } from '../../storage/services/storage.service'; import { ConnectionState } from '../devices.constants'; import { ChannelPropertyEntity, DeviceEntity } from '../entities/devices.entity'; export declare class DeviceConnectionStateService { private readonly storageService; private readonly logger; private statusMap; private statusPropertyMap; constructor(storageService: StorageService); getOnlineCountForDevices(currentDeviceIds: Set): Promise; write(device: DeviceEntity, property: ChannelPropertyEntity, status: ConnectionState): Promise; readLatest(device: DeviceEntity): Promise<{ online: boolean; status: ConnectionState; lastChanged: Date | null; }>; delete(device: DeviceEntity): Promise; deleteByProperty(property: ChannelPropertyEntity): Promise; }