import { Stopwatch } from '@watchstop/core'; import type { Clock } from '@watchstop/core'; import { type QRL, type Signal } from '@qwik.dev/core'; export type UseStopwatchOptions = { clock?: Clock; precisionMs?: number; stopwatch?: undefined; } | { stopwatch: Stopwatch; clock?: never; precisionMs?: never; }; export type StopwatchBinding = { elapsed: Signal; running: Signal; start: QRL<() => void>; stop: QRL<() => void>; reset: QRL<() => void>; stopwatch: Stopwatch; }; export declare function useStopwatch(options?: UseStopwatchOptions): StopwatchBinding; //# sourceMappingURL=use-stopwatch.d.ts.map