import { CSSProperties, PointerEventHandler, RefObject } from "react";

//#region src/hooks/useHorizontalSwipe.d.ts
type HorizontalSwipeConfig = {
  onSwipeLeft?: () => void;
  onSwipeRight?: () => void;
  enable?: boolean;
  itemIndex: number;
  itemCount: number;
  thresholdPct?: number;
  touchAction?: string;
  disableWhenSelectingText?: boolean;
};
type HorizontalSwipeHook = {
  containerRef: RefObject<HTMLDivElement>;
  isDragging: boolean;
  dragDeltaPct: number;
  containerProps: {
    ref: RefObject<HTMLDivElement>;
    onPointerDown: PointerEventHandler<HTMLDivElement>;
    onPointerMove: PointerEventHandler<HTMLDivElement>;
    onPointerUp: PointerEventHandler<HTMLDivElement>;
    onPointerCancel: PointerEventHandler<HTMLDivElement>;
    style: CSSProperties;
  };
};
declare const useHorizontalSwipe: (config: HorizontalSwipeConfig) => HorizontalSwipeHook;
//#endregion
export { HorizontalSwipeConfig, HorizontalSwipeHook, useHorizontalSwipe };
//# sourceMappingURL=useHorizontalSwipe.d.ts.map