import type { Point } from "./units.ts"; /** The place, in feet from home plate (x towards right field, y out), that each of Retrosheet's hit-location codes stands for: the centre of its sector. */ export declare const RETROSHEET_ZONES: Readonly>; /** The place a Retrosheet hit-location code stands for, or `undefined` for a code not on the diagram. The code is the location alone (`8D`), not the batted-ball type before it (`F`, `L`, `G`, `P`) nor a leading `B` for a bunt. */ export declare function zoneToPoint(code: string): Point | undefined; /** * The code of the Retrosheet zone whose centre is nearest a point, in feet from home plate (x to the right, y out): the * zone the point most probably lay in. Zone centres are not boundaries, so a point near the edge of two may go to either. * @example * ```ts * import { zoneAt, zoneToPoint } from "@johnmorrisdotca/kyogijo-stadiums/frames"; * console.log(zoneAt([0, 335]), zoneToPoint("8D")); * // 8D [ 0, 330 ] * ``` */ export declare function zoneAt(point: Point): string;