import { type PhoneCountry } from './phoneCountries'; export declare function formatPhoneDraft(country: PhoneCountry, value: string): string; /** Removing a formatting character must still let Backspace remove a digit. */ export declare function editPhoneDraft(previous: string, next: string): string; /** A number split where its calling code ends. */ export interface DialledPhone { country: PhoneCountry; national: string; } /** A pasted international number moves its prefix into the country selector. */ export declare function pastedPhone(value: string): DialledPhone | undefined; /** * A number arriving whole, with the code it carries moved to the chip: * `pastedPhone` moves one only out of a number libphonenumber calls valid. */ export declare function insertedPhone(previous: string, next: string, selected: PhoneCountry): DialledPhone | undefined; //# sourceMappingURL=phoneDraft.d.ts.map