UNPKG

@sheerid/jslib-nightly

Version:

SheerID JavaScript Library

6 lines (4 loc) 472 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;