import type { CourtGeometry } from "./court.ts"; import type { NetballFigures, PadelFigures, RacquetballFigures, RoundnetFigures, SepakTakrawFigures, SquashFigures, TeqballFigures } from "./leagues/courts.ts"; /** The empty parts of a geometry, which each court fills in as it needs. */ export declare const none: () => Pick; /** * A padel court: no lines round it (its walls are its limits), a service line each side of the net, 6.95 m from it to the outside edge (the Rules give no edge: ours, as the * other rulebooks measure to the outside of a line), and the central service line from one service line to the other under the net, extending beyond each by the Rules' 20 cm. The * enclosure is drawn outside the court: the end walls and, at each end of each side, a wall 4 m long, with metal fence between (Ends and Sides). */ export declare function padelGeometry(f: PadelFigures): CourtGeometry; /** * A squash court, the front wall at the left. Floor: the short line (its nearest edge 4.26 m from the back wall, across the whole width), the half court line from the back wall to * it, and in each back corner a service box, a square of 1.60 m inside its lines (5.05.03). The front wall is laid out flat beside the court, as if hinged on its foot: its tin (the * upper 50 mm of it a line), the service line (the lower edge 1.78 m up) and the front wall line (4.57 m up), each across its width. The other walls stand round the court. */ export declare function squashGeometry(f: SquashFigures): CourtGeometry; /** * A racquetball court, the front wall at the left. The short line's back edge is 20 ft from the back wall, the service line's front edge 5 ft in front of it, a service box's line * and a drive serve line at 18 in and 3 ft from each side wall (to the edge nearest the centre) across the service zone, and the receiving line, broken, with its back edge 5 ft * behind the short line's: an end segment of 21 in at each wall and sixteen 6 in segments with 6 in spaces between. The walls stand round the court. */ export declare function racquetballGeometry(f: RacquetballFigures): CourtGeometry; /** * A sepak takraw court: the boundary lines drawn inwards, the centre line across the middle under the net, a quarter circle of 0.9 m radius at each end of the centre line (four, each * inside the court on its side of the net), and a service circle of 0.3 m radius on each side of the net, its centre 2.45 m from the back line on the middle of the width. The radius * is taken to the outside of the circle's line (the Law gives none: ours). The posts stand 0.3 m outside the sidelines, in line with the centre line. */ export declare function sepakTakrawGeometry(f: SepakTakrawFigures): CourtGeometry; /** * A teqball court: the table (3 m by 1.5 m) in the exact middle, its net across the middle of its length and parallel to the shorter sides, the halfway line under it across the whole * width, and a service line each side 3.5 m from the middle of the table. The line widths are the greatest of the 20 to 50 mm; the Rules give no edge for the service line, so its * axis is taken to be 3.5 m from the middle (ours). The court's surrounds stand round it, outside. */ export declare function teqballGeometry(f: TeqballFigures): CourtGeometry; /** * A roundnet court: the recommended 10 by 10 m of ground (there are no out of bounds), the set (91.4 cm across) at its centre, the no hit zone line (a circle of 0.9 m) and the serving * line (a circle of 2.6 m) round it, and a mark across the serving line at each of the four service positions, 90 degrees apart, along the court's axes. The rules give no widths for * the lines or the marks: ours. */ export declare function roundnetGeometry(f: RoundnetFigures): CourtGeometry; /** * A netball court: the boundary lines drawn inwards, the two transverse lines that divide it into thirds (each line common to the two areas it bounds, so its axis is on the third), * the centre circle (0.9 m across), the goal circles (semicircles of 4.9 m radius centred on the middle of the outside of each goal line) and the goalposts. The radii are taken to the * outside of the lines; the pole is drawn at its greatest, 100 mm, with its back at the outer edge of the goal line, and the ring of each goal is seen from above. */ export declare function netballGeometry(f: NetballFigures): CourtGeometry;