import { type ReactElement, type ReactNode, type Ref } from 'react';
export type InfiniteScrollHandle = {
    scrollLeft: () => void;
    scrollRight: () => void;
};
type InfiniteScrollProps<T> = {
    items: ReadonlyArray<T>;
    speed?: number;
    direction?: 'left' | 'right';
    contentClassName?: string;
    itemClassName?: string;
    rootClassName?: string;
    slowOnTouch?: boolean;
    enableManualScroll?: boolean;
    renderItem: (item: T, index: number) => ReactNode;
};
export declare const InfiniteScroll: <T>(props: InfiniteScrollProps<T> & {
    ref?: Ref<InfiniteScrollHandle>;
}) => ReactElement;
export {};
