import type { TextInput as RNTextInput } from 'react-native'; import { type PhoneCountry } from './phoneCountries'; export interface FiatPhoneFieldProps { country: PhoneCountry; /** Raw input under the country code, including any leading trunk digit. */ national: string; /** Whether the country list is up, so the chip can say so. */ isOpen: boolean; editable?: boolean; autoFocus: boolean; /** `undefined` where the pad has no return key to give. */ returnKeyType?: 'next' | 'done'; onChangeNational: (national: string) => void; onOpenCountries: () => void; onSubmitEditing: () => void; /** Focusing the digits is choosing them over the list the chip raised. */ onFocus: () => void; onLayoutRef: (input: RNTextInput | null) => void; } /** * A phone number as one field: the calling code chosen on the left, the rest * typed on the right. * * The rail takes E.164 and nothing else, so the code cannot be the user's to * remember — the old copy asked them to type it and a local number left * Continue dead with no explanation. */ export declare function FiatPhoneField({ country, national, isOpen, autoFocus, editable, returnKeyType, onChangeNational, onOpenCountries, onSubmitEditing, onFocus, onLayoutRef, }: FiatPhoneFieldProps): import("react").JSX.Element; //# sourceMappingURL=FiatPhoneField.d.ts.map