1 | import { ValidationOptions } from '../ValidationOptions';
|
2 | export declare const IS_PASSPORT_NUMBER = "isPassportNumber";
|
3 | /**
|
4 | * Check if the string is a valid passport number relative to a specific country code.
|
5 | * If given value is not a string, then it returns false.
|
6 | */
|
7 | export declare function isPassportNumber(value: unknown, countryCode: string): boolean;
|
8 | /**
|
9 | * Check if the string is a valid passport number relative to a specific country code.
|
10 | * If given value is not a string, then it returns false.
|
11 | */
|
12 | export declare function IsPassportNumber(countryCode: string, validationOptions?: ValidationOptions): PropertyDecorator;
|