import { type OptionMark } from "./status"; /** The most marks a cell draws side by side; past it, "+N" says how many more. */ export declare const MARKS_SHOWN = 3; /** The width a column needs to seat its worded heading, capped; none where every heading is a day. */ export declare function headingWidth(labels: readonly string[]): number | undefined; /** * What a cell stands for, the one it is read by first: the state latest in `order` (the legend's, calmest * first) leads, the host's order keeping ties, so a missed one beside one done grounds its cell and is never * the one "+N" hides. A state `order` does not name ranks under every one it does. */ export declare function rankedEntries(entries: readonly T[], order: readonly string[]): T[]; /** * The width a column needs to seat its worded cells whole — the marks and the first words on one line (medium), * the one more fact under them — inset both sides, capped; none where no cell says words. */ export declare function wordsWidth(cells: readonly { marks: readonly (OptionMark | undefined)[]; said?: string; fact?: string; }[]): number | undefined; /** The width a cell needs to seat the marks it draws — `MARKS_SHOWN` at most, then "+N" — inset both sides. */ export declare function marksWidth(marks: readonly (OptionMark | undefined)[]): number;