import { ValidationArguments, ValidationOptions, ValidatorConstraintInterface } from 'class-validator'; import { ChannelsService } from '../services/channels.service'; import { DevicesService } from '../services/devices.service'; export declare class ChannelExistsConstraintValidator implements ValidatorConstraintInterface { private readonly devicesService; private readonly channelsService; constructor(devicesService: DevicesService, channelsService: ChannelsService); validate(channelId: string | undefined, args: ValidationArguments): Promise; defaultMessage(args: ValidationArguments): string; } export declare const ValidateChannelExists: (validationOptions?: ValidationOptions) => (object: object, propertyName: string) => void;