import { DigitalAddress, DigitalAddressType } from '@open-formulieren/types/dist/components/customerProfile'; import { FormikErrors } from 'formik'; import { DigitalAddressGroup } from './types'; export declare const FIELD_LABELS: Record; interface DigitalAddressTypeFieldProps { /** * The name prefix for the fields. */ namePrefix: string; /** * Whether the subfield is required. * * A required profile component requires at least one digital address to be provided. * This should only be set to true if the parent component is required, * and only one digital address type is supported. */ isRequired?: boolean; /** * The pre-populated digital address group for this digital address type. * * If no "digitalAddressGroup" is provided, the field will show a text input. * Otherwise, we show a select input with the "digitalAddressGroup.addresses" as * options. */ digitalAddressGroup?: DigitalAddressGroup; errors?: string | FormikErrors; } export declare const EmailField: React.FC; export declare const PhoneNumberField: React.FC; export declare const DigitalAddressFields: Record>; export {};