import { type AdapterOptions, type CanonicalRow, type CorpusAdapter } from "#types"; /** * Registry id for this adapter, stamped into every row it emits. */ export declare const OPENDATA_AZ_ADAPTER_ID = "opendata-az"; /** * Creative Commons Attribution is the publisher's license. * The record doesn't state its version. */ export declare const OPENDATA_AZ_LICENSE = "LicenseRef-CC-BY-unstated-version"; /** * Every jurisdiction this adapter emits, checked against a caller's `--country`. */ export declare const OPENDATA_AZ_COUNTRIES: readonly string[]; /** * The feature properties the adapter reads. */ export interface AzerbaijanPlaceRecord { OBJECTID?: number | null; CITY?: string | null; STATE?: string | null; STRT_NAME?: string | null; STRT_ADDR?: string | null; NAME?: string | null; NAME_AZ?: string | null; STATE_AZ?: string | null; STRT_N_AZ?: string | null; CITY_AZ?: string | null; } /** * The spelling a row is rendered in. */ export declare const AzerbaijanSpelling: { /** * `STRT_NAME`, `NAME`, `STATE` and `CITY`: English transliteration. */ readonly Transliterated: "transliterated"; /** * `STRT_N_AZ`, `NAME_AZ`, `STATE_AZ` and `CITY_AZ`: Azerbaijani. */ readonly Azerbaijani: "azerbaijani"; }; export type AzerbaijanSpelling = (typeof AzerbaijanSpelling)[keyof typeof AzerbaijanSpelling]; /** * Maps one record onto the components the corpus asserts in one spelling, * or returns null when the row is refused. * * Each refusal and each dropped component increments its reason in `dropped`. */ export declare function componentsForAzerbaijanRecord(record: AzerbaijanPlaceRecord, dropped?: Pick, spelling?: AzerbaijanSpelling): CanonicalRow["components"] | null; export declare function createAzerbaijanPlacesAdapter(): CorpusAdapter; /** * The configured adapter instance registered with the corpus builder. */ export declare const azerbaijanPlacesAdapter: CorpusAdapter; //# sourceMappingURL=adapter.d.ts.map