import type { WrestlingFigures } from "../leagues/combat.ts"; import { type MBox, type MMark, type Parts } from "./parts.ts"; /** What a wrestling plan is. */ export interface MatLayout { parts: Parts; /** The mat's square: the circle and the matted area round it. The surface's own box. */ mat: MBox; /** The platform under the mat (a square a metre wider each side), when there is one. */ platform: MBox | undefined; extent: MBox; centre: [number, number]; /** The wrestling area's diameter, and the middle part of it inside the passivity band (the UWW's). */ circle: number; inner: number; /** The matted area's width round the circle. */ border: number; /** The platform's height over the floor of the building, in metres. */ height: number; /** The starting lines: the rectangle they enclose, when drawn. */ start: MBox | undefined; marks: MMark[]; ranges: Record; } /** The circle's diameter the options ask for, held to what the league allows. */ export declare const matCircle: (asked: number | undefined, fig: WrestlingFigures, rule: string) => number; /** The platform's height the options ask for, held to what the league allows. */ export declare function matHeight(asked: number | undefined, fig: WrestlingFigures, rule: string): number; /** The plan of the mat the options ask for. */ export declare function matParts(fig: WrestlingFigures, o: { circle: number; height: number; centre: boolean; lines: boolean; }): MatLayout;