import type { SliderTooltipProps, DefaultValueSliderPropsType } from "./types/sliderType"; import type { Ref, ToRefs } from "vue"; import { InjectionKey, ComputedRef } from "vue"; type InitValType = { firstVal: number; secondVal: number; }; interface SliderContext extends ToRefs { tooltipProp: Required; firstVal: Ref; secondVal: Ref; updateDragging: (v: boolean) => void; getCalcPos: (e: MouseEvent) => number; } export declare const LAYUI_SLIDER_KEY: InjectionKey; export declare const useSliderProvide: () => SliderContext; export declare const useSlider: (props: DefaultValueSliderPropsType, emit: any, getSortMarks: ComputedRef) => { firstVal: Ref; secondVal: Ref; handClick: (e: MouseEvent) => Promise; barStyle: ComputedRef<{ [x: string]: string; height: string; width?: undefined; } | { [x: string]: string; width: string; height?: undefined; }>; getStop: ComputedRef; dotStyle: (dot: number) => { bottom: string; left?: undefined; } | { left: string; bottom?: undefined; }; laySliderBar1: any; laySliderBar2: any; slider: Ref; getCalcPos: (e: MouseEvent) => number; updateDragging: (val: boolean) => void; tooltipProp: Required; }; export {};