/** * Common response envelope shared by every gaff-check tool (SPEC §4). * * Every payload carries provenance (`source`, `source_url`, `licence`), * freshness (`data_vintage`, `retrieved_at`) and honesty (`caveats`). */ export interface Meta { source: string; source_url: string; licence: string; data_vintage: string; retrieved_at: string; caveats: string[]; } export interface Envelope { query: Q; results: R[]; meta: Meta; } export declare function makeEnvelope(query: Q, results: R[], meta: Omit): Envelope; /** Caveat copy shared across tools. Treat edits as user-facing copy changes. */ export declare const CAVEATS: { readonly GEOCODE_BEST_EFFORT: "Geocoding is best-effort via OpenStreetMap Nominatim. Verify the resolved location matches the property you mean before relying on downstream results."; readonly EIRCODE_UNSUPPORTED: "Eircode lookup is proprietary (ECAD licence) and not supported. Some Eircodes resolve via OpenStreetMap where mappers have added them, but this is incidental — prefer a full address or lat/lng."; readonly NO_RESULTS_IS_NOT_ABSENCE: "No matching records in the queried dataset does not mean none exist — coverage and update lag vary by source."; };