import { RefObject } from 'react';
import { IProduct } from '../types';
interface UseProductCarouselProps {
    products: IProduct[];
    containerRef: RefObject<HTMLDivElement>;
    scrollContainerRef: RefObject<HTMLDivElement>;
}
interface CarouselState {
    scrollPosition: number;
    canScrollPrev: boolean;
    canScrollNext: boolean;
    enableTransition: boolean;
}
interface CarouselActions {
    scrollPrev: () => void;
    scrollNext: () => void;
    getScrollPosition: () => number;
    getItemWidth: (index: number) => number;
}
export declare const useProductCarousel: ({ products, scrollContainerRef, }: UseProductCarouselProps) => CarouselState & CarouselActions;
export {};
