import { type JudgingSetting } from "./judging.ts"; import type { JudgingOptions, JudgingResolved } from "./judging.types.ts"; /** The width a board is laid out in before it is scaled to the picture: every other figure here is a share of it. */ export declare const BOARD_BASE = 480; /** One board as markup at (x, y), `width` wide, and how tall it came out. */ export interface BoardPlace { markup: string; width: number; height: number; } /** The line at the board's foot: the mat's own line (`Round 2`) and the style (`Kata, 5 judges`). */ export declare function boardFoot(mat: JudgingResolved, setting: Pick): string; /** The board of one mat at (x, y), `width` wide. */ export declare function boardMarkup(mat: JudgingResolved, setting: Pick, x: number, y: number, width: number): BoardPlace; /** * The board of an assignment on its own, as an SVG with nothing round it: the plate is the only thing that is drawn, semi-transparent, so that a page can lay it over a picture of the mat (the 3D view's). With several * mats and no `mat`, their boards stand one under another. * @example * ```ts * import { judgingBoard } from "@johnmorrisdotca/kyogijo-stadiums/judging"; * const svg = judgingBoard({ style: "kata", mats: [{ label: "Mat 1", officials: [{ seat: 1, name: "Aiko Mori", id: "J-1042" }] }] }); * console.log(svg.includes("ky-ju-board"), svg.includes("Aiko Mori")); * // true true * ``` */ export declare function judgingBoard(options: JudgingOptions, resolved?: JudgingSetting): string;