import { GenericFormFieldProps } from "../../FormField.types";
/**
 * An extra form field that enables the user to input a phone number
 **/
export default function phoneFieldFactory(invalidPhoneLabel: string): ({ value, question, onAnswer, error, }: GenericFormFieldProps<"phone">) => import("react/jsx-runtime").JSX.Element;
export declare const phoneFieldValidator: (answer: [phoneNumber: string, isValid: boolean, error: string | undefined]) => {
    isValid: boolean;
    error: string | undefined;
};
