1 | import { ValidationOptions } from '../ValidationOptions';
|
2 | export declare const MAX_DATE = "maxDate";
|
3 | /**
|
4 | * Checks if the value is a date that's before the specified date.
|
5 | */
|
6 | export declare function maxDate(date: unknown, maxDate: Date): boolean;
|
7 | /**
|
8 | * Checks if the value is a date that's after the specified date.
|
9 | */
|
10 | export declare function MaxDate(date: Date, validationOptions?: ValidationOptions): PropertyDecorator;
|