/** * Alias of ValidateNested * If your object contains nested objects and you want the validator to perform their validation too, * then you need to use the @ValidateNested() decorator * @returns {(object: Object, propertyName: string) => void} * @constructor */ export declare function ValidationResource(): (object: Object, propertyName: string) => void; /** * Validate the property which must not be null or empty * @returns {(object: Object, propertyName: string) => void} * @constructor */ export declare function ValidationRequired(): (object: Object, propertyName: string) => void; /** * Validate the property which must be an e-mail * @returns {(object: Object, propertyName: string) => void} * @constructor */ export declare function ValidationEmail(): (object: Object, propertyName: string) => void; /** * Validate the property which must be a string date (e.g. 2012-01-31 23:59:59) * @returns {(object: Object, propertyName: string) => void} * @constructor */ export declare function ValidationStringDate(): (object: Object, propertyName: string) => void; /** * Validate the property based on a Regex * @param {RegExp} pattern * @returns {Function} * @constructor */ export declare function ValidationMatches(pattern: RegExp): Function; /** * Validate the property which must be a phone number * @returns {Function} * @constructor */ export declare function ValidationPhone(): Function; /** * Validate the property which must follow the brazilian zip code format * @returns {Function} * @constructor */ export declare function ValidationCEP(): Function; /** * Validate the property which must follow the brazilian ID document format * @returns {Function} * @constructor */ export declare function ValidationRG(): Function; /** * Validate the property which must follow the brazilian personal document format * @returns {Function} * @constructor */ export declare function ValidationCPF(): Function; /** * Validate the property which must follow the brazilian company document format * @returns {Function} * @constructor */ export declare function ValidationCNPJ(): Function; /** * Validate the property which must be a password between a given range of digits * @param {number} min * @param {number} max * @returns {(object: Object, propertyName: string) => void} * @constructor */ export declare function ValidationPasswordLength(min: number, max?: number): (object: Object, propertyName: string) => void; /** * Validate the property which must be a string between a given range of characters * @param {number} min * @param {number} max * @returns {(object: Object, propertyName: string) => void} * @constructor */ export declare function ValidationLength(min: number, max?: number): (object: Object, propertyName: string) => void; /** * Validate the property which must be a string with a given minimum of characters * @param {number} min * @returns {(object: Object, propertyName: string) => void} * @constructor */ export declare function ValidationMinLength(min: number): (object: Object, propertyName: string) => void; /** * Validate the property which must be a string with a given maximum of characters * @param {number} max * @returns {(object: Object, propertyName: string) => void} * @constructor */ export declare function ValidationMaxLength(max: number): (object: Object, propertyName: string) => void; /** * Validate the property which must be a number with a given minimum of value * @param {number} min * @returns {(object: Object, propertyName: string) => void} * @constructor */ export declare function ValidationMin(min: number): (object: Object, propertyName: string) => void; /** * Validate the property which must be a number with a given maximum of value * @param {number} max * @returns {(object: Object, propertyName: string) => void} * @constructor */ export declare function ValidationMax(max: number): (object: Object, propertyName: string) => void; /** * Validate the property which must contain only letters (a-zA-Z) * @returns {(object: Object, propertyName: string) => void} * @constructor */ export declare function ValidationAlpha(): (object: Object, propertyName: string) => void; /** * Validate the property which must contain only letters and numbers * @returns {(object: Object, propertyName: string) => void} * @constructor */ export declare function ValidationAlphanumeric(): (object: Object, propertyName: string) => void; /** * Validate the property which must be a credit card digits * @returns {(object: Object, propertyName: string) => void} * @constructor */ export declare function ValidationCreditCard(): (object: Object, propertyName: string) => void;