import { CreateChannelDto } from '../dto/create-channel.dto'; import { UpdateChannelDto } from '../dto/update-channel.dto'; import { ChannelEntity } from '../entities/devices.entity'; export interface ChannelTypeMapping { type: string; class: new (...args: any[]) => TChannel; createDto: new (...args: any[]) => TCreateDTO; updateDto: new (...args: any[]) => TUpdateDTO; afterCreate?: (device: TChannel) => Promise; afterUpdate?: (device: TChannel) => Promise; } export declare class ChannelsTypeMapperService { private readonly logger; private readonly mappings; registerMapping(mapping: ChannelTypeMapping): void; getMapping(type: string): ChannelTypeMapping; }