/// import _isPassportNumber from 'validator/lib/isPassportNumber'; import { TReferenceProps } from '../../..'; import { IStringProps, TStringValidatorResult } from '../_types'; declare type TParameters = Parameters; export interface IIsPassportNumberProps { /** * CountryCode is one of [ `AM`, `AR`, `AT`, `AU`, `BE`, `BG`, `BY`, `BR`, `CA`, `CH`, `CN`, `CY`, `CZ`, `DE`, `DK`, `DZ`, `EE`, `ES`, `FI`, `FR`, `GB`, `GR`, `HR`, `HU`, `IE` `IN`, `IR`, `ID`, `IS`, `IT`, `JP`, `KR`, `LT`, `LU`, `LV`, `LY`, `MT`, `MY`, `MZ`, `NL`, `PL`, `PT`, `RO`, `RU`, `SE`, `SL`, `SK`, `TR`, `UA`, `US` ] */ countryCode?: TParameters[1]; } /** * Check if the string is a valid passport number relative to a specific country code. */ export declare const isPassportNumber: (props?: TReferenceProps & IStringProps) => TStringValidatorResult; export {};