import type { MenuProps } from "@mui/material/Menu"; import type { TextFieldProps } from "@mui/material/TextField"; import type { MuiTelInputContinent } from './shared/constants/continents'; import type { MuiTelInputCountry } from './shared/constants/countries'; import { ChangeEvent } from "react"; declare type BaseTextFieldProps = Omit; export type { MuiTelInputContinent, MuiTelInputCountry }; export declare type MuiTelInputReason = "country" | "input"; export interface MuiTelInputInfo { countryCode: MuiTelInputCountry | null; countryCallingCode: string | null; nationalNumber: string | null; numberValue: string | null; reason: MuiTelInputReason; } export interface MuiTelInputProps extends BaseTextFieldProps { excludedCountries?: MuiTelInputCountry[]; onlyCountries?: MuiTelInputCountry[]; preferredCountries?: MuiTelInputCountry[]; defaultCountry?: MuiTelInputCountry; forceCallingCode?: boolean; focusOnSelectCountry?: boolean; disableDropdown?: boolean; langOfCountryName?: string; disableFormatting?: boolean; continents?: MuiTelInputContinent[]; onChange?: (value: string, info: MuiTelInputInfo, event?: ChangeEvent) => void; value: string; MenuProps?: Partial; }