import { type SkPath } from '@shopify/react-native-skia'; import type { GestureStateChangeEvent, GestureUpdateEvent, PanGestureHandlerEventPayload } from 'react-native-gesture-handler'; import { SharedValue } from 'react-native-reanimated'; export type TouchableHandlerProps = { onStart: (touchInfo: GestureStateChangeEvent) => void; onActive: (touchInfo: GestureUpdateEvent) => void; onEnd: (touchInfo: GestureStateChangeEvent) => void; touchablePath: SkPath | SharedValue; }; type WithTouchableHandlerProps = T & Partial; export declare const getSkiaPath: (key: string, props: any) => any; declare const withTouchableHandler: (Component: (props: WithTouchableHandlerProps) => JSX.Element, componentName?: string) => ({ onStart: onStartProp, onActive: onActiveProp, onEnd: onEndProp, touchablePath, ...props }: WithTouchableHandlerProps) => JSX.Element; export { withTouchableHandler }; //# sourceMappingURL=with-touchable-handler.d.ts.map