UNPKG

jslib-nightly

Version:

SheerID JavaScript Library

5 lines (4 loc) 471 B
import { ProgramTheme, Country } from '../../lib/types/types'; export declare const phoneNumberValidator: (countryChoiceValue: Country) => (value: string, programTheme?: ProgramTheme) => import("../../lib/types/types").ErrorId; export declare const postalCodeValidator: (countryChoiceValue: Country) => (value: string) => string; export declare const carrierConsentValueValidator: (countryChoiceValue: Country) => (value: boolean, programTheme?: ProgramTheme) => string;