import type { AccessibilityActionEvent, LayoutChangeEvent } from 'react-native'; import { Animated } from 'react-native'; import type { SliderProps } from '../types'; /** * Slider logic driven by an `Animated.Value` (native driver) so dragging never * re-renders the component. The PanResponder is created once; it reads the * latest props through a ref. */ export declare const useSlider: (props: SliderProps, thumbWidth: number) => { completedTranslateX: Animated.AnimatedSubtraction; handleAccessibilityAction: (event: AccessibilityActionEvent) => void; handleLayout: (event: LayoutChangeEvent) => void; panResponder: { getInteractionHandle: () => number | undefined; panHandlers: import("react-native/types_generated/Libraries/Interaction/PanResponder").GestureResponderHandlerMethods; }; thumbLeft: Animated.Value; }; //# sourceMappingURL=useSlider.d.ts.map