UNPKG

@adyen/kyc-components

Version:

`adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboar

9 lines (8 loc) 716 B
import type { FieldMetadata } from '../../core/models/country-config'; import type { PerCountryFieldConfig } from '../../core/models/field-configurations'; import type { AsyncValidatorRules } from '../../utils/validation/types'; import type { PhoneFieldSchema } from './types'; import type { ConfigurationApi } from '../../core/context/ConfigurationApiContext/ConfigurationApiContext'; export declare const getAsyncPhoneValidationRules: (validatePhoneNumber: ConfigurationApi["validatePhoneNumber"]) => AsyncValidatorRules<PhoneFieldSchema>; export declare const defaultFieldMetadata: FieldMetadata<PhoneFieldSchema, 'phone'>; export declare const fieldConfig: PerCountryFieldConfig<PhoneFieldSchema, 'phone', any>;