import { MaybeRef } from 'vue'; import { Range } from './types'; /** * Custom hook to handle the click event on the track of a * min - max slider component. * * @param track The track element of the slider. * @param range An object containing the the following informations about the range: rangeMin, rangeMax, selectedMin, selectedMax, step. * @param setMin A function to set the minimum value. * @param setMax A function to set the maximum value. * @param disable Temporary disable the click on the track */ export default function useTrack(track: MaybeRef, range: Range, setMin: (value: number) => void, setMax: (value: number) => void, disable?: MaybeRef): void;