import { DataSource, EntityManager, Repository } from 'typeorm'; import { EventEmitter2 } from '@nestjs/event-emitter'; import { CreateChannelDto } from '../dto/create-channel.dto'; import { UpdateChannelDto } from '../dto/update-channel.dto'; import { ChannelEntity } from '../entities/devices.entity'; import { ChannelsTypeMapperService } from './channels-type-mapper.service'; import { ChannelsControlsService } from './channels.controls.service'; import { ChannelsPropertiesService } from './channels.properties.service'; export declare class ChannelsService { private readonly repository; private readonly channelsMapperService; private readonly channelsPropertiesService; private readonly channelsControlsService; private readonly dataSource; private readonly eventEmitter; private readonly logger; constructor(repository: Repository, channelsMapperService: ChannelsTypeMapperService, channelsPropertiesService: ChannelsPropertiesService, channelsControlsService: ChannelsControlsService, dataSource: DataSource, eventEmitter: EventEmitter2); getCount(deviceId?: string, type?: string): Promise; findAll(deviceId?: string, type?: string): Promise; findOne(id: string, deviceId?: string, type?: string): Promise; findOneBy(column: 'id' | 'category' | 'identifier' | 'name', value: string | number | boolean, deviceId?: string, type?: string): Promise; create(createDto: TCreateDTO): Promise; update(id: string, updateDto: TUpdateDTO): Promise; remove(id: string, manager?: EntityManager): Promise; getOneOrThrow(id: string): Promise; private validateDto; }