import { DataSource, EntitySubscriberInterface, UpdateEvent } from 'typeorm'; import { InsertEvent } from 'typeorm/subscriber/event/InsertEvent'; import { ShellyNgDeviceEntity } from '../entities/devices-shelly-ng.entity'; import { DeviceManagerService } from '../services/device-manager.service'; import { ShellyNgService } from '../services/shelly-ng.service'; export declare class DeviceEntitySubscriber implements EntitySubscriberInterface { private readonly dataSource; private readonly deviceManagerService; private readonly shellyNgService; private readonly logger; constructor(dataSource: DataSource, deviceManagerService: DeviceManagerService, shellyNgService: ShellyNgService); listenTo(): typeof ShellyNgDeviceEntity; afterInsert(event: InsertEvent): void; afterUpdate(event: UpdateEvent): void; afterRemove(): void; private scheduleProvision; }