/// import ClipsNavService from '../abstract/clipsNavService'; import { ClipAd } from '../../ads/models/clipAd'; import { ClipWithLiveStreamUrl, ClipWithIndexInCollection } from '../types/clipPlayerTypes'; type VideoElementWithHls = HTMLVideoElement & { hlsInstance?: HlsJs.Hls; }; type VideoElementsRef = { [slideIndex: number]: VideoElementWithHls; }; type UseSwiperSlidesProps = { activeClipId: string | null; clips: ClipWithIndexInCollection[]; clipsNavService: ClipsNavService; initialClipId?: string; isActiveCategory: boolean; isPlayerReady: boolean; onSlidesAppendedOrReappended: () => void; updateClipPlayerBackground: (activeIndex: number, backgroundImageUrl?: string) => void; }; export type AppendedSlide = ClipWithLiveStreamUrl | ClipAd; declare function useSwiperSlides({ activeClipId, clips, clipsNavService, initialClipId, isActiveCategory, isPlayerReady, onSlidesAppendedOrReappended, updateClipPlayerBackground, }: UseSwiperSlidesProps): { clipsVideosEls: import("react").MutableRefObject; totalAppendedSlides: number; updateActiveIndex: (newAppendedSlideIndex: number, direction: 'prev' | 'next') => void; }; export default useSwiperSlides;