import type { LayoutChangeEvent } from 'react-native'; import { Animated } from 'react-native'; /** * Slide-to-confirm logic. The thumb position is an `Animated.Value` driven * natively, so dragging never re-renders; only `completed` and `showText` * are React state. */ export declare const useSlideAction: (padding: number, thumbWidth: number, isCompleted?: boolean, onCompleted?: () => void) => { completed: boolean; handleAccessibilityAction: () => void; handleLayout: (event: LayoutChangeEvent) => void; panResponder: { getInteractionHandle: () => number | undefined; panHandlers: import("react-native/types_generated/Libraries/Interaction/PanResponder").GestureResponderHandlerMethods; }; showText: boolean; thumbLeft: Animated.Value; }; //# sourceMappingURL=useSlideAction.d.ts.map