/// import NormalizeEmailOptions = ValidatorJS.NormalizeEmailOptions; import AlphaLocale = ValidatorJS.AlphaLocale; import AlphanumericLocale = ValidatorJS.AlphanumericLocale; import IsByteLengthOptions = ValidatorJS.IsByteLengthOptions; import IsCurrencyOptions = ValidatorJS.IsCurrencyOptions; import IsEmailOptions = ValidatorJS.IsEmailOptions; import IsFQDNOptions = ValidatorJS.IsFQDNOptions; import IsFloatOptions = ValidatorJS.IsFloatOptions; import IsIntOptions = ValidatorJS.IsIntOptions; import IsLengthOptions = ValidatorJS.IsLengthOptions; import MobilePhoneLocale = ValidatorJS.MobilePhoneLocale; import IsURLOptions = ValidatorJS.IsURLOptions; import { ValueCheckerAbstract, ValueSanitizerAbstract } from "./base"; export declare class ValueCheckerString extends ValueCheckerAbstract { contains(elem: any): this; equals(comparison: string): this; isAfter(date?: string): this; isAlpha(locale?: AlphaLocale): this; isAlphanumeric(locale?: AlphanumericLocale): this; isAscii(): this; isBase64(): this; isBefore(date?: string): this; isBoolean(): this; isByteLength(options: IsByteLengthOptions): any; isByteLength(min: number, max?: number): any; isCreditCard(): this; isCurrency(options?: IsCurrencyOptions): this; isDataURI(): this; isDecimal(): this; isDivisibleBy(number: number): this; isEmail(options?: IsEmailOptions): this; isEmpty(): this; isNotEmpty(): this; isFloat(options?: IsFloatOptions): this; isFQDN(options?: IsFQDNOptions): this; isFullWidth(): this; isHalfWidth(): this; isHexadecimal(): this; isHexColor(): this; isIn(values: any[]): this; isInt(options?: IsIntOptions): this; isIP(version?: number): this; isISBN(version?: number): this; isISIN(): this; isISO8601(): this; isJSON(): this; isLength(options: IsLengthOptions): any; isLength(min: number, max?: number): any; isLowercase(): this; isMACAddress(): this; isMD5(): this; isMobilePhone(locale: MobilePhoneLocale): this; isMongoId(): this; isMultibyte(): this; isNumeric(): this; isSurrogatePair(): this; isUppercase(): this; isURL(options?: IsURLOptions): this; isUUID(version?: string | number): this; isVariableWidth(): this; isWhitelisted(chars: string | string[]): this; matches(pattern: string, modifiers: string): any; matches(pattern: RegExp): any; } export declare class ValueSanitizerString extends ValueSanitizerAbstract { blacklist(chars: string): this; escape(): this; unescape(): this; trim(chars?: string): this; rtrim(chars?: string): this; ltrim(chars?: string): this; stripLow(keep_new_lines?: boolean): this; toBoolean(): this; toDate(): this; toFloat(): this; toInt(radix?: number): this; normalizeEmail(options?: NormalizeEmailOptions): this; whitelist(chars: string): this; } export declare function stringIsBoolean(v: any): boolean; export declare function stringToBoolean(v: any): boolean;