import { StringFormatType } from '../../utils/index'; import { ValidationContext, ValidatorBase } from '../index'; export declare const VALIDATOR_MAX_METADATA_KEY: unique symbol; export declare function isMax(max: number | Date, errorMessage?: StringFormatType): (target: Record, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor) => void; export declare class MaxValidator extends ValidatorBase { private max; constructor(max: number | Date, errorMessage?: StringFormatType); get Max(): number | Date; validate(context: ValidationContext): Promise; }