import { FC, Ref } 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'. */ country?: CountryCode; /** * Default phone number value to display on initial render. * Useful for uncontrolled components or presets. */ defaultValue?: string; /** * If true, enforces the phone number mask strictly — only valid characters in the correct positions are allowed. */ strictMask?: boolean; /** * Ref forwarded to the native input element. * Useful for focusing or manipulating the input directly. */ ref?: Ref; } /** 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;