import type { Crowd, CrowdStands, Pt } from "./crowd.ts"; /** A stretch of wall with seats on top of it: its bearings from dead centre (the left field line is -45) and its height in feet. */ export interface WallSeats { from: number; to: number; height: number; } /** What a ballpark's stands are laid from. */ export interface ParkInput { /** The fence as points on the field: u across (negative to the left), v out from the back of home plate. */ fence: readonly Pt[]; /** How far behind home plate the backstop stands, in feet. */ backstop: number; crowd: Crowd; /** The walls that have seats on top of them. */ seatsOnWalls?: readonly WallSeats[]; } /** The stands of a ballpark, as data. */ export declare function parkLayout(input: ParkInput): CrowdStands;