@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
5 lines (4 loc) • 459 B
TypeScript
import { ProgramTheme, Country } from '../../lib/types/types';
export declare const phoneNumberValidator: (countryChoiceValue: Country) => (value: string, programTheme?: ProgramTheme) => import('../../es6').ErrorId;
export declare const postalCodeValidator: (countryChoiceValue: Country) => (value: string) => string;
export declare const carrierConsentValueValidator: (countryChoiceValue: Country) => (value: boolean, programTheme?: ProgramTheme) => string;