interface ImageViewerProps { wrapperClassName?: string; toolWrapperClassName?: string; closeClassName?: string; downloadClassName?: string; isOpen: boolean; imgSrc: string | string[]; thumbnailImages?: string[]; onClose: () => void; canDownload?: boolean; /** 初始选中的图片下标,默认为 0。当只有一张图片时此参数无意义 */ initialIndex?: number; } declare const ImageViewer: (props: ImageViewerProps) => import('react').ReactPortal | null; export default ImageViewer;