import { default as React } from 'react'; import { Swiper as SwiperType } from 'swiper'; export type BaseSwiperReturnProps = { swiper: SwiperType | null; setSwiper: React.Dispatch>; activeIndex: number; setActiveIndex: React.Dispatch>; isEnd: boolean; isBeginning: boolean; isLocked: boolean; setIsBeginning: React.Dispatch>; setIsEnd: React.Dispatch>; handleReachEnd: () => void; handleReachBeginning: () => void; hideNav: boolean; handleSlideChange: (swiperInstance: SwiperType) => void; handlePrevClick: () => void; handleNextClick: () => void; handleSlideTo: (index: number) => void; onSwiperInit: (swiper: SwiperType) => void; handleSwiperResize: (swiper: SwiperType) => void; }; export type AutoPlaySwiperReturnProps = BaseSwiperReturnProps & { isAutoPlay: boolean; /** Bumps each time autoplay (re)starts — key progress animations on it so * they restart in sync with the fresh interval instead of resuming mid-flight. */ autoPlayCycle: number; stopAutoPlay: () => void; startAutoPlay: () => void; handleUserInteraction: () => void; }; export declare const useSwiper: () => BaseSwiperReturnProps; export declare const useSwiperWithAutoPlay: (autoPlayInterval?: number, slideCount?: number) => AutoPlaySwiperReturnProps;