import type { TeamView } from "./score.ts"; import type { PlateSpot } from "./surfaces/surface.ts"; /** The label of an end's column or row: 1 to 10, then E for the first extra end, E2, E3... */ export declare const endLabel: (end: number) => string; /** How many ends a scoreboard has: ten, or more when a team's list is longer; none when no team gives its ends. */ export declare function endCount(left: readonly string[] | undefined, right: readonly string[] | undefined): number; /** The score of one end as it is written: a number, `X` for a conceded end, nothing for an end not played. */ export declare function endText(value: number | string | null | undefined): string; /** The marker of the team that has the hammer: a stone seen from above. */ export declare function hammerMark(cx: number, cy: number, r: number): string; export interface BoardWords { competition?: string; foot?: string; /** The label of the totals' row (a tall board) or the head of their column. */ total: string; } /** * The scoreboard as a group centred on the origin, in the frame the eye sees (the caller turns it back when the sheet is turned). `spot` is the * room it has; it takes only what its rows and columns need. */ export declare function boardMarkup(spot: PlateSpot, left: TeamView, right: TeamView, words: BoardWords, o: { turned: boolean; parts: boolean; }): string;