import React from 'react'; import type { OfficeImagePreviewTarget } from './types'; /** 图片预览弹层需要的资源与关闭能力。 */ type OfficeImagePreviewDialogProps = { /** 当前需要查看的图片。 */ target: OfficeImagePreviewTarget; /** 是否显示下载原始图片操作。 */ download: boolean; /** 当前预览器所在的文档对象。 */ ownerDocument: Document; /** 关闭图片预览层。 */ onClose(): void; }; /** 渲染支持适应窗口、缩放、拖拽、旋转和下载的图片预览层。 */ export declare function OfficeImagePreviewDialog({ target, download, ownerDocument, onClose, }: OfficeImagePreviewDialogProps): React.JSX.Element; export {};