import { type NameSlot, type WOFVariantSpec } from "#adapters/wof/json-rows"; import { type CorpusAdapter } from "#types"; import type { AncestorNames, WOFRecord } from "#utils"; /** * Builds the hierarchy variants for a postcode record, or returns an empty list for any other placetype. * * The slot's value is the postcode text. */ export declare function postcodeVariantsFor(row: WOFRecord, ancestry: AncestorNames, slot: NameSlot): WOFVariantSpec[]; /** * Returns a record's name slots. * * The `default` slot holds `wof:name` unchanged. * The other slots hold `name:*` variants that differ from it. */ export declare function nameSlotsFor(rec: WOFRecord): NameSlot[]; /** * The source ID on rows from this adapter. */ export declare const WOF_POSTALCODE_ADAPTER_ID = "wof-postalcode"; /** * Creates the WOF postalcode adapter. */ export declare function createWOFPostalcodeAdapter(): CorpusAdapter; /** * The configured adapter instance registered with the corpus builder. */ export declare const wofPostalcodeAdapter: CorpusAdapter; //# sourceMappingURL=adapter.d.ts.map