/** Something worked out from the time, kept current by one clock that ticks * each second for every component reading it. A component re-renders only * when what `select` returns changes, so a label reading "3h" sits still * while the clock runs. `select` runs every tick, so keep it cheap; while * `running` is false the component leaves the clock and `select` sees the * last tick's time. */ export declare function useClock(select: (now: number) => T, running?: boolean): T;