import React, { HTMLAttributes, ButtonHTMLAttributes, ReactNode } from 'react';
type NavDirection = 'forward' | 'backward';
type NavBtnProps = ButtonHTMLAttributes & {
show?: boolean;
};
type DotsNav = {
show?: boolean;
containerProps?: HTMLAttributes;
itemBtnProps?: ButtonHTMLAttributes;
activeItemBtnProps?: ButtonHTMLAttributes;
};
export type VisibleSlidesState = {
isFirstSlideVisible: boolean;
isLastSlideVisible: boolean;
visibleSlides: {
slideIndex: number;
isFullyVisible: boolean;
}[];
};
type ReactSimplyCarouselStaticProps = {
activeSlideIndex: number;
activeSlideProps?: HTMLAttributes;
autoplay?: boolean;
autoplayDelay?: number;
autoplayDirection?: NavDirection;
backwardBtnProps?: NavBtnProps;
centerMode?: boolean;
children?: ReactNode;
containerProps?: HTMLAttributes;
delay?: number;
disableNavIfAllVisible?: boolean;
disableNavIfEdgeActive?: boolean;
disableNavIfEdgeVisible?: boolean;
disableSwipeByMouse?: boolean;
disableSwipeByTouch?: boolean;
dotsNav?: DotsNav;
easing?: string;
forwardBtnProps?: NavBtnProps;
hideNavIfAllVisible?: boolean;
infinite?: boolean;
innerProps?: HTMLAttributes;
itemsListProps?: HTMLAttributes;
itemsToScroll?: number;
itemsToShow?: number;
mouseSwipeRatio?: number;
mouseSwipeTreshold?: number;
onAfterChange?: (activeSlideIndex: number, deprecated_positionSlideIndex: number) => void;
onRequestChange: (newActiveSlideIndex: number, newVisibleSlidesState: VisibleSlidesState) => void;
persistentChangeCallbacks?: boolean;
preventScrollOnSwipe?: boolean;
showSlidesBeforeInit?: boolean;
speed?: number;
swipeRatio?: number;
swipeTreshold?: number;
touchSwipeRatio?: number;
touchSwipeTreshold?: number;
updateOnItemClick?: boolean;
visibleSlideProps?: HTMLAttributes;
dirRTL?: boolean;
};
type ReactSimplyCarouselResponsiveProps = (Omit, 'onRequestChange'> & {
minWidth?: number;
maxWidth?: number;
})[];
export type ReactSimplyCarouselProps = ReactSimplyCarouselStaticProps & {
responsiveProps?: ReactSimplyCarouselResponsiveProps;
};
declare function ReactSimplyCarousel({ responsiveProps, ...props }: ReactSimplyCarouselProps): React.JSX.Element;
declare const _default: React.MemoExoticComponent;
export default _default;