countries-states-cities-service
Version:
Get the World's countries, states, regions and cities
18 lines (15 loc) • 470 B
text/typescript
import { T as TranslationLocale, S as SortArgs, a as Country } from './utils-4jNI8PG9.cjs';
type CountryFilters = {
iso2: string | string[];
} | {
iso3: string | string[];
};
interface GetCountriesArgs {
filters?: CountryFilters;
locale?: TranslationLocale;
sort?: SortArgs<Country>;
}
declare class Countries {
static getCountries(args?: GetCountriesArgs): Country[];
}
export { Countries, Country, type GetCountriesArgs, TranslationLocale };