import type { ContextArea } from "./context.ts"; /** The venues each area of Vancouver and Seattle is drawn round, by their ids (the part of a district's key before the colon). */ export declare const CITYCTX_VENUES: Readonly<{ vancouver: string[]; sodo: string[]; center: string[]; }>; /** The venues each detail area of New York, New Jersey and Montreal is drawn round, by their ids: one area for each venue, and for Montreal's two the city between them when both are shown. */ export declare const CITYCTX_DETAIL: Readonly>; /** The most patches of New York's surroundings a choice of venues takes: more than this many venues of the city are too far apart for patches of detail round each. */ export declare const MOST_DETAIL_AREAS = 2; /** The venues and the circuits each area of a circuit's surroundings is drawn round: Las Vegas's (the Strip Circuit, T-Mobile Arena and the Strip between them, with the Sphere, the High Roller and the Fountains of Bellagio). */ export declare const CIRCUIT_AREAS: Readonly>; /** The venues of Tokyo Dome City, round which Project PLATEAU's buildings are drawn (the Kodokan stands a little way off, inside the area). */ export declare const TOKYO_VENUES: readonly string[]; /** The key of every area there is data for, in the order a district draws them: each is one file. */ export declare const AREA_KEYS: readonly string[]; /** * The keys of the areas that go with some venues, in the order to draw them: downtown Vancouver's buildings and streets and its water, green and trees for BC Place and Rogers Arena; Seattle's SoDo for Lumen Field and * T-Mobile Park, Seattle Center's for Climate Pledge Arena, and the city's own for a district that holds venues of both (they are three kilometres apart, so the detail of either would be a speck); Tokyo Dome City's for * Tokyo Dome, Korakuen Hall and the Kodokan, which take it before any other; Las Vegas's for T-Mobile Arena and for the Las Vegas Strip Circuit (`circuit`, a district's circuit). A venue of none of these has no area. * @example * ```ts * import { areaKeysFor } from "@johnmorrisdotca/kyogijo-stadiums/areas"; * console.log(areaKeysFor(["bc-place:cfl", "rogers-arena"])); * // [ 'vancouver', 'vancouver-nature' ] * ``` */ export declare function areaKeysFor(venues: readonly string[], circuit?: string): string[]; /** * One area by its key (`AREA_KEYS`), read from its own file the first time and kept after: asking again gives the same promise. A key that is not an area rejects, naming the keys there are. * @example * ```ts * import { loadArea } from "@johnmorrisdotca/kyogijo-stadiums/areas"; * const area = await loadArea("seattle-sodo"); * console.log(area.key, area.radius); * ``` */ export declare function loadArea(key: string): Promise; /** * The areas that go with some venues, for a district's `context` option, each read from its own file and no other: what `contextFor` of the `cityctx` entry gives, and Tokyo Dome City's too, without carrying every area's data to * get them. * @example * ```ts * import { loadAreasFor } from "@johnmorrisdotca/kyogijo-stadiums/areas"; * import { planDistrict } from "@johnmorrisdotca/kyogijo-stadiums/district"; * const venues = ["bc-place:cfl", "rogers-arena"]; * const plan = planDistrict({ venues, context: await loadAreasFor(venues) }); * console.log(plan.context?.attribution.en.length); * ``` */ export declare function loadAreasFor(venues: readonly string[], circuit?: string): Promise;