import { Clock, Stopwatch } from "@watchstop/core"; import { ShallowRef } from "vue"; //#region src/use-stopwatch.d.ts type UseStopwatchOptions = { clock?: Clock; precisionMs?: number; stopwatch?: undefined; } | { stopwatch: Stopwatch; clock?: never; precisionMs?: never; }; type StopwatchBinding = { elapsed: Readonly>; running: Readonly>; start: () => void; stop: () => void; reset: () => void; stopwatch: Stopwatch; }; declare function useStopwatch(options?: UseStopwatchOptions): StopwatchBinding; //#endregion export { type StopwatchBinding, type UseStopwatchOptions, useStopwatch }; //# sourceMappingURL=index.d.cts.map