import { Ref } from 'vue';
/**
 * 处理点击滑轨滚动
 * @param param0
 * @returns
 */
export declare function useTrack({ currentScroll, trackSpeed, track, bar, tracking, type, barLength, disabled, onDown, onMove, onUp, onScroll }: {
    currentScroll: Ref<number>;
    type: Ref<'vertical' | 'horizontal'>;
    trackSpeed?: Ref<number>;
    track?: Ref<HTMLElement | null | undefined>;
    bar?: Ref<HTMLElement | null | undefined>;
    tracking?: Ref<boolean>;
    barLength?: Ref<number>;
    disabled?: Ref<boolean>;
    onDown?: (scroll: number) => void;
    onMove?: (scroll: number) => void;
    onUp?: (scroll: number) => void;
    onScroll?: (scroll: number) => void;
}): {
    currentScroll: Ref<number, number>;
    trackSpeed: Ref<number, number>;
    track: Ref<HTMLElement | null | undefined, HTMLElement | null | undefined>;
    bar: Ref<HTMLElement | null | undefined, HTMLElement | null | undefined>;
    tracking: Ref<boolean, boolean>;
    type: Ref<"horizontal" | "vertical", "horizontal" | "vertical">;
    barLength: Ref<number, number>;
    disabled: Ref<boolean, boolean>;
    handleMouseDown: (event: PointerEvent) => false | undefined;
};
