import { ParsedCountry } from '../types'; import { PhoneFormattingConfig } from './handlePhoneChange'; interface HandleUserInputOptions extends PhoneFormattingConfig { country: ParsedCountry; insertDialCodeOnEmpty: boolean; phoneBeforeInput: string; } export declare const handleUserInput: (e: React.ChangeEvent, { country, insertDialCodeOnEmpty, phoneBeforeInput, prefix, charAfterDialCode, forceDialCode, disableDialCodeAndPrefix, countryGuessingEnabled, defaultMask, disableFormatting, countries, allowMaskOverflow, }: HandleUserInputOptions) => { phone: string; inputValue: string; cursorPosition: number; country: ParsedCountry; }; export {};