import { ValidationError } from 'class-validator'; /** * Validates any field DTO by reading the string-literal `type` discriminator and * routing to the matching concrete DTO's validation. * * @param data Object with a string `type` discriminator. * @returns ValidationError[] from the concrete DTO, or a synthetic error if * `type` is missing or not a recognized literal. */ export declare function validateAnyFieldDto(data: object): ValidationError[];