1 | import { ValidationOptions } from '../ValidationOptions';
|
2 | export type IsISBNVersion = '10' | '13' | 10 | 13;
|
3 | export declare const IS_ISBN = "isIsbn";
|
4 | /**
|
5 | * Checks if the string is an ISBN (version 10 or 13).
|
6 | * If given value is not a string, then it returns false.
|
7 | */
|
8 | export declare function isISBN(value: unknown, version?: IsISBNVersion): boolean;
|
9 | /**
|
10 | * Checks if the string is an ISBN (version 10 or 13).
|
11 | * If given value is not a string, then it returns false.
|
12 | */
|
13 | export declare function IsISBN(version?: IsISBNVersion, validationOptions?: ValidationOptions): PropertyDecorator;
|