import { type AdapterOptions, 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. * The name is the region as its own publisher writes it, as `vlaanderen`'s is. */ export declare const WALLONIE_ADAPTER_ID = "wallonie"; /** * The stable id of the publication behind every row. * * It belongs in `SourceRegister` beside `be-vlaanderen-inspire-ad`, and this constant * stands in until that entry lands, because a built corpus stores the id on every row * and the id mustn't change afterwards. * Replace the constant with the `SourceRegister` member on integration. */ export declare const WALLONIE_SOURCE_REGISTER: "be-wallonie-inspire-ad"; /** * The one jurisdiction this adapter emits. * * The service publishes the Walloon Region, to which ISO 3166-1 assigns no * code of its own, so the set holds one code and a caller naming another gets * {@linkcode UnsupportedCountryError} rather than zero rows. */ export declare const WALLONIE_COUNTRIES: readonly string[]; /** * Every emitted row records this license. * * The register's elected decision for `unchecked-access-free-be-service-public-de-wallonie-spw` * records `spdx: "CC-BY-4.0"`, and `electedTermsLabel` answers the SPDX id when one is recorded. */ export declare const WALLONIE_DEFAULT_LICENSE = "CC-BY-4.0"; /** /** * The components an address references, keyed by the `gml:id` its `#` fragment names. */ export interface WallonieComponentIndex { /** * `ad:ThoroughfareName` → the street name the publisher spells. */ streets: ReadonlyMap; /** * `ad:PostalDescriptor` → its `ad:postCode`. */ postcodes: ReadonlyMap; /** * `ad:AdminUnitName` at {@link MUNICIPALITY_LEVEL} → the municipality name. * * A unit at another level is left out, so the country and region references cannot answer for a locality. */ municipalities: ReadonlyMap; /** * `ad:AddressAreaName` → the name of the part of the municipality, such as `Hamme-Mille` in `Beauvechain`. */ areas: ReadonlyMap; } /** * Indexes the four component types in one pass over the member. * * @throws {@linkcode InspireArchiveError} when a component states no `gml:id`, * when two components share one, or when the pass ends with an empty index. */ export declare function readWallonieComponents(inputPath: AdapterOptions["inputPath"], signal?: AbortSignal): Promise; export declare function createWallonieAdapter(): CorpusAdapter; /** * The configured adapter instance registered with the corpus builder. */ export declare const wallonieAdapter: CorpusAdapter; //# sourceMappingURL=adapter.d.ts.map