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 OPENADDRESSES_ADAPTER_ID = "openaddresses"; /** * License assigned to each row from this source (CC-BY-4.0), so downstream consumers * inherit the terms rather than having to look them up. */ export declare const OPENADDRESSES_DEFAULT_LICENSE = "CC-BY-4.0"; export interface OpenaddressesAdapterOptions { /** * Per-row license used when a Feature lacks an explicit `LICENSE` property. * * @defaultValue `CC-BY-4.0` — the most common license across the OpenAddresses collection. * Override per dump via the runner's adapter-options passthrough. */ defaultLicense?: string; /** * Whether this adapter emits a row whose per-file license requires share-alike. * * `buildCorpus({ licensePolicy })` and `mw corpus build --license-policy share-alike-free` * express a refusal at build level. * * The policy reads the obligations of every adapter's rows under one policy and records what it refused. * * Pass `false` only for an adapter-scoped drop, such as a fixture that must use one license. * * @defaultValue `true` */ allowShareAlike?: boolean; } /** * Build an OpenAddresses adapter. * * The optional `defaultLicense` lets callers stamp a non-default fallback for dumps * known to use a single license throughout (e.g. a PDDL-only state extract). */ export declare function createOpenaddressesAdapter(opts?: OpenaddressesAdapterOptions): CorpusAdapter; /** * The configured adapter instance registered with the corpus builder. */ export declare const openaddressesAdapter: CorpusAdapter; //# sourceMappingURL=adapter.d.ts.map