import { type Ref } from "vue"; export interface StopwatchArguments { /** The start time in seconds */ startTime?: number; /** The end time in seconds */ endTime?: number; } export interface Stopwatch { /** * The amount of time that has passed since the timer started, in high-precision seconds. */ time: Ref; /** Starts the timer (resumes the timer if paused) */ start: () => void; /** Stops and resets the timer. */ stop: () => void; /** Sets the current time to a certain value. * @throws an error if the time is outside of the given range. */ setTime: (time: number) => void; } export declare function useStopwatch(options?: StopwatchArguments): Stopwatch;