import { type Plane } from "./turn.kit.ts"; /** What a net on a court is: where it hangs, between which posts, and the line of its top and of its bottom. */ export interface NetBody { id: string; x: number; y0: number; y1: number; /** The height of the top edge and of the bottom edge over a place across the court, above the court's own surface. */ top: (y: number) => number; bottom: (y: number) => number; /** The mesh's cell, and the tape along the top, in feet. */ cell: number; tape: number; /** Vertical white bands across the net at these places across the court (volleyball's side bands), and their width. */ bands?: { at: readonly number[]; width: number; }; } /** The net: a mesh between a top line and a bottom line, with its tape, on one plane standing over the line x. */ export declare function netPlane(b: NetBody, lift: number): Plane; /** A parabola from the centre height to the post height: the sag of a net hung between two posts. */ export declare const sag: (y0: number, y1: number, centre: number, posts: number) => (y: number) => number; /** * A table: a skirt under its top and four legs set in from its ends, over the rectangle (x0, y0) to (x1, y1), its top `lift` feet over the floor. `top` also draws the top * itself (a teqball table stands on a court; a table tennis table is the surface, which the drawing already shows). */ export declare function tableBody(x0: number, y0: number, x1: number, y1: number, lift: number, thin: number, top: boolean): Plane[];