import { parkNameIn, parkOfficialName, parkPointsIn, parkQuirksIn, parkSourceUrl, parkWallsIn, fenceFor, type Park } from "./parks.core.ts"; import type { Unit } from "./units.ts"; export type { CoverQuirk, DugoutSide, HillQuirk, OverhangQuirk, Park, ParkData, ParkDugouts, ParkPeriod, ParkPeriodData, ParkQuirk, ParkSource, ParkWall, ParkWallData, PointQuirk, QuirkKind, WallPlace } from "./parks.core.ts"; export { fenceFor, parkNameIn, parkOfficialName, parkPointsIn, parkQuirksIn, parkSourceUrl, parkWallsIn }; /** Every park by its key: the thirty current MLB ballparks, forty-three past ones, the twelve NPB home parks, and eight secondary or past NPB grounds. */ export declare const PARKS: Readonly>; /** The keys of `PARKS`: the current MLB parks, then the past ones by their first season, then the NPB's, each in the order of the sources. */ export declare const PARK_IDS: readonly string[]; /** The unit a park's figures were published in: metres for the parks of Japan (converted to feet once, in `PARKS`), feet for the rest. `undefined` for a key that is not a park. */ export declare const parkUnit: (id: string | undefined) => Unit | undefined; /** * The parks that answer to a name, best match first: the everyday names, then the official and cited names and the sponsors', then the former names and the nicknames. A name is * compared without case, accents, spaces or punctuation, in full-width or half-width, and in Japanese with hiragana or katakana and with or without the long vowel mark. * @example * ```ts * import { parksByName } from "@johnmorrisdotca/kyogijo-stadiums/parks"; * console.log(parksByName("Camden Yards")[0]?.id, parksByName("甲子園")[0]?.id, parksByName("ハマスタ")[0]?.id); * // oriole-park-at-camden-yards hanshin-koshien-stadium yokohama-stadium * ``` */ export declare const parksByName: (name: string | undefined) => Park[]; /** The park a name belongs to (see `parksByName`; the best match when several answer to it), or `undefined`. */ export declare const parkByName: (name: string | undefined) => Park | undefined; /** The park with a key, or `undefined`. */ export declare const parkById: (id: string | undefined) => Park | undefined; /** The park whose Wikidata item is `Q49136`, or `undefined`. */ export declare const parkByWikidata: (wikidata: string | undefined) => Park | undefined;