import * as React from "react"; import { type MaskedInputProps } from "./masked"; export type PhoneInputProps = Omit & { countryCode?: string; maxDigits?: number; showCountryCode?: boolean; showIcon?: boolean; icon?: React.ReactNode; }; declare function onlyDigits(value: string): string; declare function formatPhoneDigits(digits: string, countryCode?: string, maxDigits?: number): string; declare const PhoneInput: React.ForwardRefExoticComponent & React.RefAttributes>; export { PhoneInput, formatPhoneDigits, onlyDigits };