import type { Hardwood } from "../hardwood.ts"; import type { CourtSpec } from "../leagues/basketball.ts"; import { type BuildOptions } from "./surface.ts"; /** What `basket` needs of the court, in feet. */ export interface HoopGeo { L: number; W: number; /** The border's width. */ bw: number; } /** * Both baskets from above, with their shadows. The backboard is where the court's figures put it (`court.backboard`), the rim in its place and size; the stanchion * stands behind the baseline in the border and the ground beyond, with its padded base on the floor. */ export declare function hoops(o: BuildOptions, h: Hardwood, court: CourtSpec, g: HoopGeo): string; /** What the bench side needs of the court. */ export interface BenchGeo extends HoopGeo { /** Where the coaching box ends along the sideline, from the baseline. */ box: number; /** The thickness of a line. */ thin: number; } /** * The coaching box's two lines across the border of the bottom sideline, the scorers' table in the middle of it, and a bench either side. They are drawn only when the * ground beyond the border is deep enough to hold them. */ export declare function bench(o: BuildOptions, g: BenchGeo, room: number): string;