import type { Element } from "../../tui/elements.js"; import type { KeyEvent } from "../../tui/input/types.js"; import type { RunRow } from "../rows.js"; import type { ExplorerAction, ExplorerView, Viewport } from "./explorerView.js"; /** A page line with the color it renders in. */ type Styled = { text: string; fg?: string; }; export declare class VerdictScreen implements ExplorerView { private readonly runKey; private readonly inputId; private readonly graderKey; readonly viewName: "verdict"; private parent; private test; private detail; private verdict; private scroll; private message; constructor(runKey: string, inputId: string, graderKey: string); setData(rows: RunRow[]): void; setProgress(): void; notify(message: string): void; helpLines(): string[]; handleKey(event: KeyEvent, viewport: Viewport): ExplorerAction; render(viewport: Viewport): Element; private title; /** The page, wrapped to `cols`. Exposed for tests. */ pageLines(cols: number): Styled[]; private sections; } export {};