export type PhoneFormat = 'country' | 'phone' | 'all';
export declare const countryCodesFourDigits: Set<string>;
export declare const countryCodesThreeDigits: Set<string>;
export declare const countryCodesTwoDigits: Set<string>;
export declare const countryCodesOneDigit: string[];
export declare const allCountries: {
    name: string;
    countryCode: string;
}[];
export declare function getCountryCode(phone?: string): string;
export declare function getPhoneWithoutCountryCode(phone?: string, countryCode?: string): string;
export declare function isValidPhoneNumber(phone: string): boolean;
export declare function formatPhone(phone: string, format?: PhoneFormat): string;
