import React from 'react'; import { ImageProps, UploadFile } from 'antd'; import { FileViewProps } from './FileView'; import './index.less'; export interface BizFileViewerProps { file?: T; renderView?: (dom: React.ReactElement, props: BizFileViewerProps, file: UploadFile) => React.ReactNode; open?: boolean; onCancel?: () => void; width?: string | number; className?: string; style?: React.CSSProperties; unsupportedView?: FileViewProps['unsupportedView']; preview?: Omit>, 'src'>; } declare function BizFileViewer(props: BizFileViewerProps): React.JSX.Element | null; export default BizFileViewer;