import { ReactElement, MouseEventHandler } from 'react'; import { DeprecatedModalSlideshowBodyProps } from './DeprecatedModalSlideshowBody'; export type DeprecatedModalSlideshowProps = Omit & { /** * Whether the ModalSlideshow should have opening and closing animation. */ noAnimation?: boolean; /** * Whether the ModalSlideshow should be open. */ isOpen: boolean; /** * Handler that is called when the ModalSlideshow is closed. */ onClose: MouseEventHandler; /** * The element where to mount the Modal. It needs to be outside the GrapesProvider tree for the focus trap to work properly. * @default document.body */ portalContainer?: Element; }; /** * @deprecated use ModalSlideshow instead */ export declare const DeprecatedModalSlideshow: ({ slides, noAnimation, isOpen, onClose, portalContainer, ...bodyProps }: DeprecatedModalSlideshowProps) => ReactElement | null; //# sourceMappingURL=DeprecatedModalSlideshow.d.ts.map