import { default as React } from 'react'; import { Direction, A11y } from '@wix/editor-react-types'; import { IndicatorMode } from './types'; import { ButtonProps } from '../Button/Button'; import { SdkFunctionClickableProps, SdkFunctionMouseHoverProps } from '../../../utils/functions/sdkFunctionCallbackProps'; export type SlideIndicatorsElementProps = { indicatorMode: IndicatorMode; direction?: Direction; className?: string; }; export type SlideshowElementProps = { slideIndicators?: SlideIndicatorsElementProps; navigationButtons?: Partial; }; type SlideshowDataProps = SdkFunctionClickableProps & SdkFunctionMouseHoverProps & { autoplay?: boolean; autoplayDelay?: number; pauseOnHover?: boolean; loop?: boolean; transitionType?: 'none' | 'slide' | 'cross-fade' | 'in-out'; transitionDirection?: 'rtl' | 'ltr' | 'btt' | 'ttb'; transitionDuration: number; slides?: Array<{ name: string; content: React.ReactNode; }>; activeSlide?: number; direction?: Direction; elementProps?: SlideshowElementProps; showPauseButton?: boolean; a11y?: A11y; onChange?: (event?: React.SyntheticEvent) => void; onPlay?: () => void; onPause?: () => void; nextButtonLabel?: string; prevButtonLabel?: string; /** Utility prop that is not stored in the manifest data namespace. */ rawAutoplay?: boolean; }; type SlideshowViewerProps = { id: string; className?: string; isHidden?: boolean; hidden?: boolean; wix?: { presetsWrapperProps?: Record; }; }; export type SlideshowProps = SlideshowDataProps & SlideshowViewerProps; declare const Slideshow: (props: SlideshowProps) => React.JSX.Element; export default Slideshow;