1 | import { ValidationOptions } from '../ValidationOptions';
|
2 | export declare const IS_CREDIT_CARD = "isCreditCard";
|
3 | /**
|
4 | * Checks if the string is a credit card.
|
5 | * If given value is not a string, then it returns false.
|
6 | */
|
7 | export declare function isCreditCard(value: unknown): boolean;
|
8 | /**
|
9 | * Checks if the string is a credit card.
|
10 | * If given value is not a string, then it returns false.
|
11 | */
|
12 | export declare function IsCreditCard(validationOptions?: ValidationOptions): PropertyDecorator;
|