import React from 'react'; import '../index.less'; interface IProps { fnForceUpdate: () => void; data: IData; } interface IData { commonUploadCb?: (data: any) => Promise; commonDownloadCb?: () => Promise; } /** * 这是一个通用的导入模块,处理函数都需要在外部实现,内部不进行具体业务实现 */ declare class Component extends React.Component { private list; constructor(props: any); handleCancel: () => void; handleOk: () => Promise; onChange: (info: any) => void; handleResponse: (res: any) => void; onDownload: () => Promise; tipModal: () => JSX.Element; render(): JSX.Element; } export default Component;