import { DataSource, EntitySubscriberInterface, RemoveEvent, UpdateEvent } from 'typeorm'; import { ChannelPropertyEntity } from '../entities/devices.entity'; import { DeviceConnectionStateService } from '../services/device-connection-state.service'; import { PropertyValueService } from '../services/property-value.service'; export declare class ChannelPropertyEntitySubscriber implements EntitySubscriberInterface { private readonly propertyValueService; private readonly deviceStatusService; private readonly dataSource; private readonly logger; constructor(propertyValueService: PropertyValueService, deviceStatusService: DeviceConnectionStateService, dataSource: DataSource); listenTo(): typeof ChannelPropertyEntity; private getResourceId; afterLoad(entity: ChannelPropertyEntity): Promise; private resolveUnitFromSpec; beforeUpdate(event: UpdateEvent): void; afterRemove(event: RemoveEvent): Promise; }