/** * Hook providing touch swipe handlers to change a section index. * * @param setActiveSectionIndex - Function to update the active section index. * @param getMaxSectionIndex - Function to get the maximum valid section index. * @param minDistance - Minimum swipe distance to trigger a section change (default: 200). * @param minVelocity - Minimum swipe velocity to trigger a section change (default: 0.5). * * @returns An object containing touch event handlers: handleTouchStart, handleTouchMove, handleTouchEnd. */ export declare function useStorySwipe(setActiveSectionIndex: (updater: (prev: number) => number) => void, getMaxSectionIndex: () => number, minDistance?: number, minVelocity?: number): { handleTouchStart: (e: React.TouchEvent) => void; handleTouchMove: (e: React.TouchEvent) => void; handleTouchEnd: () => void; };