import type { Kind } from "./status"; /** A thin ruled progress bar. `indeterminate` for open-ended phases (searching, * finishing); otherwise a determinate fill to `percent` with a live readout. */ export function ProgressBar({ kind, indeterminate, percent, caption, }: { kind: Kind; indeterminate?: boolean; percent?: number; caption?: string; }) { if (indeterminate) { return (