import { Exception } from '../../Exception'; import { Class } from '@/utils'; export interface ValidatorOptions { exceptionType?: Class; } export type ValidationMethod = (value: T, options?: O) => void; export declare abstract class Validator { static createClassDecorator(validationMethod: ValidationMethod, options?: O): {}>(constructor: U) => { new (value: T): {}; } & U; }