import type { CourtFigures } from "./leagues/basketball.ts"; import type { RinkFigures } from "./leagues/hockey.ts"; import { type Plane, type Upright } from "./turn.kit.ts"; /** The boards of a rink, 42 in (NHL Rule 1.3: 40 to 48 in, 42 the ideal), the glass over them 8 ft at each end and 6 ft along the sides (Rule 1.3: not less than 6 ft). */ export declare const BOARD_HEIGHT = 3.5; export declare const GLASS_END = 8; export declare const GLASS_SIDE = 6; /** The height of a hockey goal, 4 feet (NHL Rule 2.1). */ export declare const HOCKEY_GOAL_HEIGHT = 4; /** The line round a rink's ice, as points: the straight sides and the quarter circles of its corners. */ export declare function rinkOutline(length: number, width: number, radius: number, steps?: number): [number, number][]; /** The boards with the glass above them, one plane for each straight stretch of the line: the glass is 8 ft at the ends and in the corners and 6 ft along the sides. */ export declare function boardPlanes(length: number, width: number, radius: number, boards: number, thin: number): Plane[]; /** A rink's uprights: the boards and glass, and the two goals. `goalLine` is the distance of the goal line from the end boards. */ export declare function rinkUprights(rink: RinkFigures, goalLine: number, thin: number, boards: boolean): Upright[]; /** The ring's upper edge is 10 ft over the floor (NBA Rule 1 Section II) and 3,050 mm in FIBA's (1.2.4). */ export declare const RIM_HEIGHT = 10; export declare const FIBA_RIM_HEIGHT: number; /** The board's lower edge is 150 mm under the ring's top (FIBA 1.1.5); NBA Rule 1 gives the board's size and the ring's height but not the lower edge, which is drawn the same. */ export declare const BOARD_DROP: number; /** The NBA's board is 3 1/2 ft tall, FIBA's 1,050 mm. */ export declare const BOARD_TALL = 3.5; export declare const FIBA_BOARD_TALL: number; /** The least distance of the support's padding behind the end line, FIBA 1.4.3 Level 1: 2,000 mm. */ export declare const SUPPORT_BEHIND: number; /** A court's uprights: its two baskets. */ export declare const courtUprights: (court: CourtFigures, thin: number, fiba?: boolean) => Upright[];