import type { PathBuilderLike } from "path-ts"; import type { LocaleBaseTuple } from "#surfaces/locale"; /** * The `source` value a Great Britain house-venue tuple must include. * * The v3 tuples took their GB rows from HM Land Registry Price Paid Data. * Royal Mail and Ordnance Survey license its address fields for non-commercial use only (#2635). * Those GB rows have no `source` value. */ export declare const GB_CONTEXT_TUPLE_SOURCE = "gb-os-open"; /** * Load the address skeletons every leg renders onto: GB / US / FR from the * house-venue tuples (`#recipes/house-venue-tuples`). * * Its GB rows come from the `gb-os-open` adapter's OS OpenData rows. * DE and ES streamed out of OpenAddresses. * * @throws When a GB tuple lacks {@linkcode GB_CONTEXT_TUPLE_SOURCE}, so a tuples file * built from Price Paid Data is refused rather than rendered. */ export declare function loadContextTuples(tuplesPath: PathBuilderLike, seed: number): Promise>; /** * The street-side confound classes, mined from the leg's own address tuples. * * Real streets rather than invented ones. * The 176,519-row context pool includes 195 GB `hall` streets and 114 GB `gate` streets. * * It includes 134 distinct GB `-gate` tokens and a two-figure ` ` * population in both GB and US. * Each item comes from a real address where someone lives. * Each example comes from a real address tuple. */ export interface StreetNegatives { designator: LocaleBaseTuple[]; modifierDesignator: LocaleBaseTuple[]; gateSuffix: LocaleBaseTuple[]; } export declare function buildStreetNegatives(context: readonly LocaleBaseTuple[], designatorPhrases: readonly string[], modifiers: readonly string[], country: string): StreetNegatives; //# sourceMappingURL=context.d.ts.map