Optionalactive?: numberOptionalduration?: numberMilliseconds a line takes to fill, and so how long an advance is held back for it to arrive.
Optionalerror?: booleanThe run stopped on the stage in flight; every stage it reached is drawn in the error colour.
Optionalfraction?: numberHow far through the stage in flight, 0..1, drawn on the line leaving it.
Optionalindeterminate?: booleanThe stage in flight cannot be counted, so it spins rather than filling its line.
OptionalonSelect?: (step: { id: string; index: number }) => voidMakes every stage a toggle button.
Optionalselected?: numberIndex of a stage the caller has singled out.
The plan: a count when the stages are anonymous, or the stages themselves; every stage is drawn.
Zero-based index of the stage in flight; absent means none has started, and a value at or past the last stage means the run is over.