import { Country, CountryState, StateCity } from '../types'; /** * Crawl countries from the API. * Then map the response to the Country type. * Write the list of countries to the /metadata/countries.json file. */ export declare const crawlCountries: () => Promise; /** * Crawl states from the API. * Then map the response to the CountryState type. * Write the list of states to the /metadata/states.json file. */ export declare const crawlStates: (countries: Country[]) => Promise; /** * Crawl cities and save them separately per state */ export declare const crawlCities: (countryStates: CountryState[]) => Promise; /** * Execute all crawling steps sequentially. */ export declare const crawling: () => Promise;