/** * countries - a compact country reference for SvPhoneInput / SvCountryInput. * ISO 3166-1 alpha-2 code, display name, E.164 dial code, and a flag emoji * (derived from the code so no image assets are needed). This is a curated * common-set; extend `COUNTRIES` for full coverage. */ export type Country = { code: string; name: string; dial: string; }; /** Regional-indicator flag emoji from an ISO alpha-2 code. */ export declare function flagEmoji(code: string): string; export declare const COUNTRIES: Country[]; /** * Expected national (post-dial-code) significant-digit count per country, as an * exact length or an inclusive [min, max] range. A pragmatic length-based check * (not full libphonenumber). Countries without an entry accept any non-empty * number. */ export declare const PHONE_NATIONAL_LENGTHS: Record; /** * Whether `nationalDigits` is a plausible national number for `code` (length * check). Unknown countries pass on any non-empty input. Pure. */ export declare function phoneDigitsValid(code: string, nationalDigits: string): boolean; export declare const COUNTRY_BY_CODE: Map;