import Collapse from '@mui/material/Collapse'; import { DialogProps } from '@mui/material/Dialog'; import Fade from '@mui/material/Fade'; import Grow from '@mui/material/Grow'; import Slide from '@mui/material/Slide'; import Zoom from '@mui/material/Zoom'; import { HTMLAttributes } from 'react'; type Props = { url: string; attributionUrl?: string; attributionText?: string; }; type ImageProps = Props & { type: 'image'; } & HTMLAttributes; type VideoProps = Props & { type: 'video'; } & HTMLAttributes; type MediaProps = ImageProps | VideoProps; export interface ControlledLightboxProps { onPrevious(): unknown; onNext(): unknown; activeIndex: number; } export interface LightboxProps extends Omit { media: MediaProps[]; TransitionComponent?: typeof Collapse | typeof Fade | typeof Slide | typeof Grow | typeof Zoom; } declare const Lightbox: (props: LightboxProps & Partial) => import("react/jsx-runtime").JSX.Element; export default Lightbox;