import { MutableRefObject } from 'react'; import { Swiper as SwiperType } from 'swiper/types'; /** * Destroy Swiper if it hasn't already been destroyed upon clipView unmounting. * This ensures that events are correctly sent when the user uses browser's navigation rather than the player controls. **/ declare const useDestroySwiper: (swiperRef: MutableRefObject<{ swiper: SwiperType; } | null>, isCategoryNavigation?: boolean) => void; export default useDestroySwiper;