import { FC } from 'react'; import { TextFieldProps } from '../TextField'; import { CountryCode } from 'libphonenumber-js'; export interface PhoneFieldProps extends TextFieldProps { /** * ISO 3166-1 alpha-2 country code used to determine the phone mask format. * Example: 'US', 'RU', 'FR'. */ code?: CountryCode; /** * ISO 3166-1 alpha-2 country code used to determine the phone mask format. * Example: 'US', 'RU', 'FR'. */ defaultCode?: CountryCode; /** * ISO 3166-1 alpha-2 country code used to determine the phone mask format. * Example: 'US', 'RU', 'FR'. */ onChangeCode?(code: CountryCode): void; /** * If true, enforces the phone number mask strictly — only valid characters in the correct positions are allowed. */ strictMask?: boolean; } /** The PhoneField component is a specialized text input for phone numbers, supporting country-specific formatting, optional input masking, and accessibility via native input semantics */ export declare const PhoneField: FC;