import { Gesture, type PanGestureHandlerEventPayload as ReanimatedPanGestureHandlerEventPayload, type PanGestureChangeEventPayload } from "react-native-gesture-handler"; export type PanGestureHandlerEventPayload = ReanimatedPanGestureHandlerEventPayload; export type PanGestureHandlerOnBeginEventPayload> = { points: Record; event: PanGestureHandlerEventPayload; }; export type PanGestureHandlerOnChangeEventPayload> = { points: Record; event: PanGestureHandlerEventPayload & PanGestureChangeEventPayload; }; export type HoverGestureOnBegin = ReturnType["onBegin"]; export type HoverGestureOnBeginCallBack = Parameters[0]; export type HoverGestureHandlerOnBeginEventPayload = { point: number; event: Parameters[0]; }; export type UseGestureProps> = { /** The path of the chart. */ points: Data; /** The height of the chart. */ height: number; curveType?: "linear"; gestureLongPressDelay?: number; onPanGestureBegin?: ((payload: PanGestureHandlerOnBeginEventPayload) => void) | null; onPanGestureChange?: ((payload: PanGestureHandlerOnChangeEventPayload) => void) | null; onPanGestureEnd?: ((payload: PanGestureHandlerEventPayload) => void) | null; }; /** * Returns the gesture handlers for the LineChart component. * @param param0 - The props to allow the gesture handlers to interact with the * LineChart component. * @returns The gesture handlers for the LineChart component. */ export declare const useGestures: >({ points, height, curveType, gestureLongPressDelay, onPanGestureBegin, onPanGestureChange, onPanGestureEnd, }: UseGestureProps) => import("react-native-gesture-handler/lib/typescript/handlers/gestures/panGesture").PanGesture; //# sourceMappingURL=useGestures.d.ts.map