/** @jsxImportSource preact */ /** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { JSX } from "preact"; import type { IterationMap } from "../state"; /** * Two renderings of one map, over the same slot data. * * Rows are the terminal's answer: what the workers are doing right now, capped * so the height is set by concurrency rather than by the map. The grid is what * a browser can add: every iteration at once, which is where a failure is * visible without scrolling. The grid needs per-index state, so above the * tracking cap it is not offered — a grid of unknown cells would be a lie * about what the run knows. */ export declare function MapView({ taskId, map, tick, view, }: { taskId: string; map: IterationMap; tick: number; view?: "rows" | "grid"; }): JSX.Element | null;