import * as React from 'react';
import { TextFieldProps } from './TextField';
import { SelectProps } from './Select';
export type PhoneFieldProps = Omit<TextFieldProps, 'multiline' | 'onChange' | 'rows' | 'onScroll' | 'type' | 'defaultValue'> & {
    /**
     * Called when the value changes
     */
    onChange?: (value: string) => void;
    /**
     * Country code to be used by default if this field is firstly rendered with an empty value.
     * It must be a code of 1, 2, 3 or 4 digits available in PhoneUtils.ts file.
     */
    defaultCountryCode?: string;
    /**
     * Country code select props
     */
    codeSelectProps?: SelectProps<string, false>['sx'];
};
/**
 * PhoneField is a component that renders an input field with type="text" with a start adornment
 * to select the country code from a predefined list of country codes.
 * It comes with some optional features like an InputLabel, an InputHelperText, a leading Icon
 * and an IconButton to clear the current value of input.
 *
 * The exposed `ref` property is the refference to the native &lt;input&gt; element,
 * typed as React.Ref&lt;HTMLInputElement&gt;
 */
declare const PhoneField: React.ForwardRefExoticComponent<Omit<TextFieldProps, "type" | "onChange" | "onScroll" | "defaultValue" | "rows" | "multiline"> & {
    /**
     * Called when the value changes
     */
    onChange?: (value: string) => void;
    /**
     * Country code to be used by default if this field is firstly rendered with an empty value.
     * It must be a code of 1, 2, 3 or 4 digits available in PhoneUtils.ts file.
     */
    defaultCountryCode?: string;
    /**
     * Country code select props
     */
    codeSelectProps?: SelectProps<string, false>["sx"];
} & React.RefAttributes<HTMLInputElement>>;
export default PhoneField;
