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.67 kB
/** * Get South Sudan country data * @returns South Sudan 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 South Sudan states/tribes data * @returns Array of state/tribe data for South Sudan */ declare function getStates(): Promise<unknown[]>; /** * Get South Sudan country with states/tribes data * @returns South Sudan 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 ss_getCountry: typeof getCountry; declare const ss_getCountryAndStates: typeof getCountryAndStates; declare const ss_getStates: typeof getStates; declare namespace ss { export { ss_getCountry as getCountry, ss_getCountryAndStates as getCountryAndStates, ss_getStates as getStates }; } export { getStates as a, getCountryAndStates as b, getCountry as g, ss as s };