UNPKG

african-states-and-tribes

Version:

This project provides comprehensive insights into African countries, the origins of various tribes, and their geographic distributions. Built to celebrate and document Africa’s rich multicultural landscape, it allows users to explore the continent’s diver

64 lines (61 loc) 1.66 kB
/** * Get Mauritius country data * @returns Mauritius country object */ declare function getCountry(): Promise<{ countryCode: string; phoneCode: number; capitalCity: string; colonialMaster: { name: string; countryCode: string; }[]; flagEmoji: string; name: string; currency: string; currencyCode: string; currencySymbol: string; officialLanguage: string; majorEthnicGroups: string[]; timezones: { iana: string; gmtOffset: string; }[]; }>; /** * Get Mauritius states/tribes data * @returns Array of state/tribe data for Mauritius */ declare function getStates(): Promise<unknown[]>; /** * Get Mauritius country with states/tribes data * @returns Mauritius country object with states property */ declare function getCountryAndStates(): Promise<{ states: unknown[]; countryCode: string; phoneCode: number; capitalCity: string; colonialMaster: { name: string; countryCode: string; }[]; flagEmoji: string; name: string; currency: string; currencyCode: string; currencySymbol: string; officialLanguage: string; majorEthnicGroups: string[]; timezones: { iana: string; gmtOffset: string; }[]; }>; declare const mu_getCountry: typeof getCountry; declare const mu_getCountryAndStates: typeof getCountryAndStates; declare const mu_getStates: typeof getStates; declare namespace mu { export { mu_getCountry as getCountry, mu_getCountryAndStates as getCountryAndStates, mu_getStates as getStates }; } export { getStates as a, getCountryAndStates as b, getCountry as g, mu as m };