import { MaybeRef } from 'vue'; /** * Custom hook to handle mouse dragging functionality for a slider component. * * @param track - The track element of the slider. * @param currentValue - The current range value of the slider. * @param rangeStart - The minimal value of the slider range. * @param rangeEnd - The maximal value of the slider range. * @param step - The step value for the slider. * @param minSelectableValue - The minimum currently selectable value for the slider. * @param maxSelectableValue - The maximum currently selectable value for the slider. * @param callback - The callback function to be called with the new value when the slider is dragged. * * @returns An object containing the `startDrag` function to initiate the dragging. */ export default function useMouseSlide(thumb: MaybeRef, track: MaybeRef, currentValue: Readonly>, rangeStart: MaybeRef, rangeEnd: MaybeRef, step: MaybeRef, minSelectableValue: MaybeRef, maxSelectableValue: MaybeRef, callback: (value: number) => void): { inProgress: import('vue').Ref; };