import { CountryCode } from "libphonenumber-js"; /** * @param phoneNumber - a phone number as a string * @returns {boolean} true if the phone number starts with a plus sign * @example checkIfPhoneNumberHasPlus("123456789") // false * checkIfPhoneNumberHasPlus("+123456789") // true */ export declare const checkIfPhoneNumberHasPlus: (phoneNumber: string) => boolean; /** * @param phoneNumber - a phone number as a string * @returns {string|number} the phone number with a plus sign in front of it * @example getPhoneNumberWithPlus("123456789") // "+123456789" */ export declare const getPhoneNumberWithPlus: (phoneNumber: string | number | ReadonlyArray) => string; /** * Generates a flag emoji based on the given country code. * * @param {string} countryCode - The two-letter country code (ISO 3166-1 alpha-2). * @returns {string} - The corresponding flag emoji for the given country code. * @example getPhoneNumberWithPlus("DK") // "🇩🇰" */ export declare const countryCodeToFlagEmoji: (countryCode: string) => string; /** * Retrieves the ISO 3166-1 alpha-2 country code associated with a given international calling code. * * @param {string} callCode - The international calling code for a country. * @returns {string} The abbreviation for a country or an empty string if no matching country is found. * @example getCountryAbbreviation("45") // "DK" * @example getCountryAbbreviation("+45") // "DK" */ export declare const getCountryAbbreviation: (callCode: string) => CountryCode | "";