import { type CorpusAdapter } from "#types"; /** * Registry id for this adapter. * * Stamped into every row it emits, so a corpus record can be traced back to the dataset it came from. */ export declare const ADS_ADAPTER_ID = "ads"; /** * The one jurisdiction this adapter emits. * * The service covers Estonia whole, so the set has one member and `opts.country` either * matches `EE` or asks for a jurisdiction the dataset doesn't publish. */ export declare const ADS_COUNTRIES: readonly string[]; /** * Whether a locator name ends in an Estonian street type (`tänav`, `tee`, `maantee`, `pst`). * * Such a locator name is the street's own name, where any other is a farm or building name. */ export declare function locatorNamesStreet(locatorName: string): boolean; /** * The license the address-source register elected for this publisher. * * `unchecked-access-free-ee-maa-ja-ruumiamet` is elected with `spdx` `CC0-1.0`, * from the `otherConstraints` of CSW record `b0bd266e-b4c6-45db-b7ea-f47486b6258b`. */ export declare const ADS_DEFAULT_LICENSE = "CC0-1.0"; /** * The flattened `AD.Address` properties this adapter consults. * * The explicit shape catches a rename early, and leaving the designator out of * it is deliberate: the property exists on every feature and holds an ADS code * rather than a house number, so the adapter cannot read it by accident. */ interface ADSProperties { gml_id?: number | string; inspireid_identifier_localid?: number | string; locator_addresslocator_name_locatorname_name_spelling_text?: string; component1_xlink_title?: string; component2_xlink_title?: string; component3_xlink_title?: string; component4_xlink_title?: string; component5_xlink_title?: string; component6_xlink_title?: string; } /** * The thoroughfare element a feature addresses, or an empty string where it addresses none. * * A thoroughfare name and an address area never co-occur on one feature, and the * publisher's own `alternativeidentifier` writes either one in the same position: * `Veskimäe tee 8` for the first and `Vahatu vkt 19` for the second. * The address area is therefore read as the street it stands in for rather than as a separate rung. */ export declare function thoroughfareOf(properties: ADSProperties): string; export declare function createADSAdapter(): CorpusAdapter; /** * The configured adapter instance registered with the corpus builder. */ export declare const adsAdapter: CorpusAdapter; export {}; //# sourceMappingURL=adapter.d.ts.map