import { CreateDeviceDto } from '../dto/create-device.dto'; import { UpdateDeviceDto } from '../dto/update-device.dto'; import { DeviceEntity } from '../entities/devices.entity'; export interface DeviceTypeMapping { type: string; class: new (...args: any[]) => TDevice; createDto: new (...args: any[]) => TCreateDTO; updateDto: new (...args: any[]) => TUpdateDTO; afterCreate?: (device: TDevice) => Promise; afterUpdate?: (device: TDevice) => Promise; } export declare class DevicesTypeMapperService { private readonly logger; private readonly mappings; registerMapping(mapping: DeviceTypeMapping): void; getMapping(type: string): DeviceTypeMapping; }