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

172 lines (169 loc) 4.12 kB
/** * Get Eritrea country data * @returns Eritrea 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 Eritrea states/tribes data * @returns Array of state/tribe data for Eritrea */ declare function getStates(): Promise<({ capitalCity: string; subdivisions: any[]; geoPoliticalZone: string; location: string; name: string; stateCode: string; tribes: string[]; type: string; } | { capitalCity: string; subdivisions: any[]; geoPoliticalZone: string; location: string; name: string; stateCode: string; tribes: string[]; type: string; } | { capitalCity: string; subdivisions: any[]; geoPoliticalZone: string; location: string; name: string; stateCode: string; tribes: string[]; type: string; } | { capitalCity: string; subdivisions: any[]; geoPoliticalZone: string; location: string; name: string; stateCode: string; tribes: string[]; type: string; } | { capitalCity: string; subdivisions: any[]; geoPoliticalZone: string; location: string; name: string; stateCode: string; tribes: string[]; type: string; } | { capitalCity: string; subdivisions: any[]; geoPoliticalZone: string; location: string; name: string; stateCode: string; tribes: string[]; type: string; })[]>; /** * Get Eritrea country with states/tribes data * @returns Eritrea country object with states property */ declare function getCountryAndStates(): Promise<{ states: ({ capitalCity: string; subdivisions: any[]; geoPoliticalZone: string; location: string; name: string; stateCode: string; tribes: string[]; type: string; } | { capitalCity: string; subdivisions: any[]; geoPoliticalZone: string; location: string; name: string; stateCode: string; tribes: string[]; type: string; } | { capitalCity: string; subdivisions: any[]; geoPoliticalZone: string; location: string; name: string; stateCode: string; tribes: string[]; type: string; } | { capitalCity: string; subdivisions: any[]; geoPoliticalZone: string; location: string; name: string; stateCode: string; tribes: string[]; type: string; } | { capitalCity: string; subdivisions: any[]; geoPoliticalZone: string; location: string; name: string; stateCode: string; tribes: string[]; type: string; } | { capitalCity: string; subdivisions: any[]; geoPoliticalZone: string; location: string; name: string; stateCode: string; tribes: string[]; type: string; })[]; 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 er_getCountry: typeof getCountry; declare const er_getCountryAndStates: typeof getCountryAndStates; declare const er_getStates: typeof getStates; declare namespace er { export { er_getCountry as getCountry, er_getCountryAndStates as getCountryAndStates, er_getStates as getStates }; } export { getStates as a, getCountryAndStates as b, er as e, getCountry as g };