1 | import { ValidationOptions } from '../ValidationOptions';
|
2 | import ValidatorJS from 'validator';
|
3 | export declare const IS_DECIMAL = "isDecimal";
|
4 | /**
|
5 | * Checks if the string is a valid decimal.
|
6 | * If given value is not a string, then it returns false.
|
7 | */
|
8 | export declare function isDecimal(value: unknown, options?: ValidatorJS.IsDecimalOptions): boolean;
|
9 | /**
|
10 | * Checks if the string contains only letters and numbers.
|
11 | * If given value is not a string, then it returns false.
|
12 | */
|
13 | export declare function IsDecimal(options?: ValidatorJS.IsDecimalOptions, validationOptions?: ValidationOptions): PropertyDecorator;
|