import type { TeamView } from "./score.ts"; import type { PlateSpot } from "./surfaces/surface.ts"; export interface CricketWords { competition?: string; foot?: string; /** The heads of the columns: the innings, the total (runs for wickets) and the overs. */ innings: string; total: string; overs: string; } /** The total as a cricket score is written: the runs, a stroke, the wickets lost. Runs alone when no wickets are given. */ export declare const totalText: (t: Pick) => string; /** How many innings columns a board has: the most either team gives; none when neither gives any. */ export declare const inningsCount: (left: readonly string[] | undefined, right: readonly string[] | undefined) => number; /** The board as a group centred on the origin. `spot` is the room it has; it takes only what its rows and columns need. */ export declare function cricketBoardMarkup(spot: PlateSpot, left: TeamView, right: TeamView, words: CricketWords, o: { parts: boolean; }): string;