/** * Get all country codes from the Country enum */ export declare const getAllCountryCodes: () => string[]; /** * Get English country name from country code */ export declare const getCountryName: (countryCode: string) => string; /** * Get country name translated into the given locale using Intl.DisplayNames. * Falls back to the English name from the Country enum, then to the raw code. */ export declare const getTranslatedCountryName: (countryCode: string, locale?: string) => string; /** * Get country options for dropdown based on allowed country codes. * When a locale is provided, country names are translated using Intl.DisplayNames. * @param allowedCountries Array of country codes to include. If empty or undefined, returns all countries. * @param locale BCP 47 locale tag (e.g. 'es', 'fr'). Defaults to English names when omitted. * @returns Array of options with value (country code) and text (country name) */ export declare const getCountryOptions: (allowedCountries?: string[], locale?: string) => Array<{ value: string; text: string; }>; /** * Get country options grouped alphabetically for dropdown rendering with optgroups. * Uses NFD normalization so accented names (e.g. "Ägypten") group under their base letter ("A"). */ export declare const getGroupedCountryOptions: (allowedCountries?: string[], locale?: string) => Array<{ label: string; options: Array<{ value: string; text: string; }>; }>; //# sourceMappingURL=countryNames.d.ts.map