import { nextTick } from 'vue'; import type { CSSProperties, Ref, SetupContext } from 'vue'; import type { SliderEmits, SliderInitData, SliderProps } from '../slider'; import type { SliderButtonInstance } from '../button'; export declare const useSlide: (props: SliderProps, initData: SliderInitData, emit: SetupContext['emit']) => { elFormItem: import("../../../form").FormItemContext | undefined; slider: import("@vue/reactivity").ShallowRef; firstButton: Ref<({ $: import("@vue/runtime-core").ComponentInternalInstance; $data: {}; $props: Partial<{ readonly modelValue: number; readonly vertical: boolean; readonly placement: import("packages/web/vue-utils/dist").EpPropMergeType; }> & Omit; readonly vertical: BooleanConstructor; readonly tooltipClass: StringConstructor; readonly placement: import("packages/web/vue-utils/dist").EpPropFinalized; }>> & { "onUpdate:modelValue"?: ((value: number) => any) | undefined; } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, "modelValue" | "vertical" | "placement">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("@vue/runtime-core").Slot | undefined; }>; $root: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase> | null; $parent: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase> | null; $emit: (event: "update:modelValue", value: number) => void; $el: any; $options: import("@vue/runtime-core").ComponentOptionsBase; readonly vertical: BooleanConstructor; readonly tooltipClass: StringConstructor; readonly placement: import("packages/web/vue-utils/dist").EpPropFinalized; }>> & { "onUpdate:modelValue"?: ((value: number) => any) | undefined; }, { onButtonDown: (event: MouseEvent | TouchEvent) => void; onKeyDown: (event: KeyboardEvent) => void; setPosition: (newPosition: number) => Promise; hovering: Ref; dragging: Ref; }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, { "update:modelValue": (value: number) => boolean; }, string, { readonly modelValue: number; readonly vertical: boolean; readonly placement: import("packages/web/vue-utils/dist").EpPropMergeType; }> & { beforeCreate?: ((() => void) | (() => void)[]) | undefined; created?: ((() => void) | (() => void)[]) | undefined; beforeMount?: ((() => void) | (() => void)[]) | undefined; mounted?: ((() => void) | (() => void)[]) | undefined; beforeUpdate?: ((() => void) | (() => void)[]) | undefined; updated?: ((() => void) | (() => void)[]) | undefined; activated?: ((() => void) | (() => void)[]) | undefined; deactivated?: ((() => void) | (() => void)[]) | undefined; beforeDestroy?: ((() => void) | (() => void)[]) | undefined; beforeUnmount?: ((() => void) | (() => void)[]) | undefined; destroyed?: ((() => void) | (() => void)[]) | undefined; unmounted?: ((() => void) | (() => void)[]) | undefined; renderTracked?: (((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[]) | undefined; renderTriggered?: (((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[]) | undefined; errorCaptured?: (((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase> | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase> | null, info: string) => boolean | void)[]) | undefined; }; $forceUpdate: () => void; $nextTick: typeof nextTick; $watch(source: string | Function, cb: Function, options?: import("@vue/runtime-core").WatchOptions | undefined): import("@vue/runtime-core").WatchStopHandle; } & Readonly; readonly vertical: BooleanConstructor; readonly tooltipClass: StringConstructor; readonly placement: import("packages/web/vue-utils/dist").EpPropFinalized; }>> & { "onUpdate:modelValue"?: ((value: number) => any) | undefined; } & import("@vue/reactivity").ShallowUnwrapRef<{ onButtonDown: (event: MouseEvent | TouchEvent) => void; onKeyDown: (event: KeyboardEvent) => void; setPosition: (newPosition: number) => Promise; hovering: Ref; dragging: Ref; }> & {} & import("@vue/runtime-core").ComponentCustomProperties & { $slots: {}; }) | undefined>; secondButton: Ref<({ $: import("@vue/runtime-core").ComponentInternalInstance; $data: {}; $props: Partial<{ readonly modelValue: number; readonly vertical: boolean; readonly placement: import("packages/web/vue-utils/dist").EpPropMergeType; }> & Omit; readonly vertical: BooleanConstructor; readonly tooltipClass: StringConstructor; readonly placement: import("packages/web/vue-utils/dist").EpPropFinalized; }>> & { "onUpdate:modelValue"?: ((value: number) => any) | undefined; } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, "modelValue" | "vertical" | "placement">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("@vue/runtime-core").Slot | undefined; }>; $root: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase> | null; $parent: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase> | null; $emit: (event: "update:modelValue", value: number) => void; $el: any; $options: import("@vue/runtime-core").ComponentOptionsBase; readonly vertical: BooleanConstructor; readonly tooltipClass: StringConstructor; readonly placement: import("packages/web/vue-utils/dist").EpPropFinalized; }>> & { "onUpdate:modelValue"?: ((value: number) => any) | undefined; }, { onButtonDown: (event: MouseEvent | TouchEvent) => void; onKeyDown: (event: KeyboardEvent) => void; setPosition: (newPosition: number) => Promise; hovering: Ref; dragging: Ref; }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, { "update:modelValue": (value: number) => boolean; }, string, { readonly modelValue: number; readonly vertical: boolean; readonly placement: import("packages/web/vue-utils/dist").EpPropMergeType; }> & { beforeCreate?: ((() => void) | (() => void)[]) | undefined; created?: ((() => void) | (() => void)[]) | undefined; beforeMount?: ((() => void) | (() => void)[]) | undefined; mounted?: ((() => void) | (() => void)[]) | undefined; beforeUpdate?: ((() => void) | (() => void)[]) | undefined; updated?: ((() => void) | (() => void)[]) | undefined; activated?: ((() => void) | (() => void)[]) | undefined; deactivated?: ((() => void) | (() => void)[]) | undefined; beforeDestroy?: ((() => void) | (() => void)[]) | undefined; beforeUnmount?: ((() => void) | (() => void)[]) | undefined; destroyed?: ((() => void) | (() => void)[]) | undefined; unmounted?: ((() => void) | (() => void)[]) | undefined; renderTracked?: (((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[]) | undefined; renderTriggered?: (((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[]) | undefined; errorCaptured?: (((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase> | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase> | null, info: string) => boolean | void)[]) | undefined; }; $forceUpdate: () => void; $nextTick: typeof nextTick; $watch(source: string | Function, cb: Function, options?: import("@vue/runtime-core").WatchOptions | undefined): import("@vue/runtime-core").WatchStopHandle; } & Readonly; readonly vertical: BooleanConstructor; readonly tooltipClass: StringConstructor; readonly placement: import("packages/web/vue-utils/dist").EpPropFinalized; }>> & { "onUpdate:modelValue"?: ((value: number) => any) | undefined; } & import("@vue/reactivity").ShallowUnwrapRef<{ onButtonDown: (event: MouseEvent | TouchEvent) => void; onKeyDown: (event: KeyboardEvent) => void; setPosition: (newPosition: number) => Promise; hovering: Ref; dragging: Ref; }> & {} & import("@vue/runtime-core").ComponentCustomProperties & { $slots: {}; }) | undefined>; sliderDisabled: import("@vue/reactivity").ComputedRef; minValue: import("@vue/reactivity").ComputedRef; maxValue: import("@vue/reactivity").ComputedRef; runwayStyle: import("@vue/reactivity").ComputedRef; barStyle: import("@vue/reactivity").ComputedRef; resetSize: () => void; setPosition: (percent: number) => Ref; emitChange: () => Promise; onSliderWrapperPrevent: (event: TouchEvent) => void; onSliderClick: (event: MouseEvent | TouchEvent) => void; onSliderDown: (event: MouseEvent | TouchEvent) => Promise; setFirstValue: (firstValue: number | undefined) => void; setSecondValue: (secondValue: number) => void; };