/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * Read selected Overture Places categories from `poi.db` and return candidate sub-venue names with * country and category provenance. * * `poi.db` covers four countries — US, CA, FR and MX — so a zero count here is absence in four countries rather * than evidence of absence in the world. Every non-Latin designator comes from the OSM leg. */ import type { PathBuilderLike } from "path-ts"; import type { SubVenueHarvestRow } from "#tools/sub/venue/lexicon"; /** * Overture categories selected for sub-venue designator evidence. */ export declare const OVERTURE_SUBVENUE_CATEGORIES: Readonly>; /** * Read the Overture release recorded in the POI layer manifest. */ export declare function readOvertureLayerVintage(databasePath: PathBuilderLike): Promise; export interface ReadOvertureSubVenuesOptions { /** * Path to `poi.db`. */ databasePath: PathBuilderLike; /** * Category-to-designator mapping. */ categories?: Readonly>; /** * Optional ISO alpha-2 country filter. */ countries?: readonly string[]; } /** * Overture sub-venue row with its country and category provenance. */ export interface OvertureSubVenueRow extends SubVenueHarvestRow { /** * ISO alpha-2 code from the Overture partition. */ country: string; /** * Overture category used to select the row. */ category: string; } /** * Read POI rows with names in selected sub-venue categories, optionally filtered by country. */ export declare function readOvertureSubVenues(options: ReadOvertureSubVenuesOptions): Promise; //# sourceMappingURL=overture-subvenue.d.ts.map