import { MutableRefObject, RefObject } from 'react';
declare const useCarousel: <Box extends HTMLElement, Card extends HTMLElement>(scrollBox: MutableRefObject<Maybe<Box>>, refs: RefObject<Card>[]) => {
    onPaginationClick: (index: number) => void;
    onLeftClick: () => void;
    onRightClick: () => void;
    isFirstCard: boolean;
    isLastCard: boolean;
    activeIndex: number;
    setActiveIndex: import("react").Dispatch<import("react").SetStateAction<number>>;
};
export default useCarousel;
