import { EventEmitter2 } from '@nestjs/event-emitter'; import { ConnectionState } from '../devices.constants'; import { DeviceEntity } from '../entities/devices.entity'; import { ChannelsPropertiesService } from './channels.properties.service'; import { ChannelsService } from './channels.service'; import { DeviceConnectionStateService } from './device-connection-state.service'; import { DevicesService } from './devices.service'; export declare class DeviceConnectivityService { private readonly devicesService; private readonly channelsService; private readonly channelsPropertiesService; private readonly deviceConnectionStateService; private readonly eventEmitter; constructor(devicesService: DevicesService, channelsService: ChannelsService, channelsPropertiesService: ChannelsPropertiesService, deviceConnectionStateService: DeviceConnectionStateService, eventEmitter: EventEmitter2); setConnectionState(deviceId: DeviceEntity['id'], state: { state: ConnectionState; reason?: string; ts?: number; }): Promise; private findOrCreateConnectionChannel; private findOrCreateConnectionProperty; }