/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ /** * Wall-clock for the run as a whole, from the moment the UI mounted — which is * the moment the run started, since mounting is what starts it. * * Deliberately not derived from task timestamps the way a row's duration is. A * graph whose first task has not started yet, or whose tasks are all waiting on * a rate limiter, has no task clock running and yet the operator has plainly * been waiting; a footer that reads `0:00` for the first twenty seconds of a * queued run is answering a question nobody asked. * * Freezes the instant the run settles, so the finished frame reports how long * the run took rather than how long the terminal has been open. */ export declare function useRunClock(running: boolean): number;