import { CommonValidatorBuilder , ValidationOptionsBuilder } from "./" ; import { AlphaLocale , AlphanumericLocale , CurrencyOptions , EmailOptions , FqdnOptions , MobilePhoneLocale , UrlOptions , UuidVersion } from "../shared" ; import { PostalCodeLocale } from "../shared/PostalCodeLocale" ; export interface StringValidatorBuilder < T > extends CommonValidatorBuilder < T , string > { param seed contains ( seed ) : this & ValidationOptionsBuilder < T > ; param locale isAlphanumeric ( locale ? ) : this & ValidationOptionsBuilder < T > ; param locale isAlpha ( locale ? ) : this & ValidationOptionsBuilder < T > ; /**
     * Checks if a string contains ASCII chars only.
     */ isAscii ( ) : this & ValidationOptionsBuilder < T > ; /**
     * Checks if a string is Base64 encoded.
     */ isBase64 ( ) : this & ValidationOptionsBuilder < T > ; /**
     * Checks if a string is a boolean.
     */ isBooleanString ( ) : this & ValidationOptionsBuilder < T > ; param options isCurrency ( options ? ) : this & ValidationOptionsBuilder < T > ; /**
     * Checks if a string represents a decimal number, such as 0.1, .3, 1.1, 1 .00003, 4.0, etc.
     */ isDecimalString ( ) : this & ValidationOptionsBuilder < T > ; param options isEmail ( options ? ) : this & ValidationOptionsBuilder < T > ; param options isFqdn ( options ? ) : this & ValidationOptionsBuilder < T > ; /**
     * Checks if a string is a hexadecimal number.
     */ isHexadecimal ( ) : this & ValidationOptionsBuilder < T > ; /**
     * Checks if a string is a valid ISO 8601 date.
     */ isIso8601 ( ) : this & ValidationOptionsBuilder < T > ; /**
     * Checks if a string is valid JSON (note: uses `JSON.parse`).
     */ isJson ( ) : this & ValidationOptionsBuilder < T > ; param locale isPostalCode ( locale ) : this & ValidationOptionsBuilder < T > ; /**
     * Checks if a string is a valid latitude-longitude coordinate.
     */ isLatLong ( ) : this & ValidationOptionsBuilder < T > ; param length hasLength ( length ) : this & ValidationOptionsBuilder < T > ; param min param max hasLengthBetween ( min , max ) : this & ValidationOptionsBuilder < T > ; param min hasMinLength ( min ) : this & ValidationOptionsBuilder < T > ; param max hasMaxLength ( max ) : this & ValidationOptionsBuilder < T > ; /**
     * Checks if a string is all lowercase.
     */ isLowercase ( ) : this & ValidationOptionsBuilder < T > ; param locale isMobilePhoneNo ( locale ) : this & ValidationOptionsBuilder < T > ; /**
     * Checks if a string contains only numbers.
     */ isNumericString ( ) : this & ValidationOptionsBuilder < T > ; param options isUrl ( options ? ) : this & ValidationOptionsBuilder < T > ; /**
     * Checks if a string is all uppercase.
     */ isUppercase ( ) : this & ValidationOptionsBuilder < T > ; param version isUuid ( version ? ) : this & ValidationOptionsBuilder < T > ; param pattern param modifiers matches ( pattern , modifiers ? ) : this & ValidationOptionsBuilder < T > ; }