import { TextFieldProps } from '@mui/material';
import { CountryIso2 } from 'react-international-phone';
import { CountryDisplayOptions } from './country-select';
export interface PhoneValue {
    country: CountryIso2;
    phone: string;
}
export interface PhoneInputProps extends Omit<TextFieldProps, 'value' | 'onChange'> {
    value?: PhoneValue;
    onChange?: (value: PhoneValue) => void;
    countryDisplayOptions?: CountryDisplayOptions;
    preview?: boolean;
    allowDial?: boolean;
}
export declare function validatePhoneNumber(phone: string, iso2: CountryIso2, dialCode?: string): boolean;
export declare function getDialCodeByCountry(iso2: CountryIso2): string;
export declare function getCountryNameByCountry(iso2: CountryIso2): string;
export declare function detectCountryFromPhone(phoneNumber?: string): CountryIso2 | undefined;
export default function PhoneInput({ value, onChange, placeholder, countryDisplayOptions, preview, allowDial, ...props }: PhoneInputProps): import("react/jsx-runtime").JSX.Element;
