/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * Reads a per-country GeoNames postal dump and emits postcode-first locality rows. Each dump row includes its place and * region names inline. */ import { type CorpusAdapter } from "#types"; /** * The source ID on rows from this adapter. */ export declare const GEONAMES_POSTAL_ADAPTER_ID = "geonames-postal"; /** * The license on rows from this adapter. */ export declare const GEONAMES_POSTAL_DEFAULT_LICENSE = "CC-BY-4.0"; /** * Zero-based column indices in a GeoNames postal dump. * * The coordinates locate the postcode. * That position may differ from the locality's position. */ export declare const GEONAMES_POSTAL_COLUMNS: { readonly country: 0; readonly postcode: 1; readonly place: 2; readonly admin1Name: 3; readonly admin2Name: 5; readonly latitude: 9; readonly longitude: 10; }; /** * Creates the GeoNames postal adapter. */ export declare function createGeonamesPostalAdapter(): CorpusAdapter; /** * The adapter instance registered with the corpus builder. */ export declare const geonamesPostalAdapter: CorpusAdapter; //# sourceMappingURL=adapter.d.ts.map