import { Component } from "react"; interface iProps { url: string; templateSn: string; bizParam: any; visible: boolean; onFinish?: () => void; onCancel: () => void; width?: number; } export default class ExcelUpload extends Component { state: { templateDownload: { description: string; templateFileURL: string; templateFileName: string; }; importInfo: { importState: string; importToken: string; title: string; currentStep: number; }; singleFileUpload: { parseState: string; file: any; loading: boolean; }; dataConfirm: { loading: boolean; }; uploadResult: { loading: boolean; }; }; componentWillReceiveProps(newProps: any): void; init: () => Promise; doImport: () => Promise; getParseAndCheckState: () => Promise; pollDataMessage: () => void; beforeDataCheck: () => Promise; uploadFile: ([file]: [any]) => void; get url(): string; get importToken(): string; get excelFile(): any; setSingleFileUpload: (key: any, value: any) => void; setCurrentStep: (step: any) => void; gotoNextStep: () => void; gotoPreviousStep: () => void; onReady: () => void; onFinish: () => void; finishImport: () => Promise; clearState: () => void; get modalFooter(): JSX.Element; confirm: () => void; render(): JSX.Element; } export {};