import React from "react"; import "./index.css"; import { LtmplConfig } from "../tmpl/interface"; import { LocaleContext } from "../locale/LocaleProvider"; type LogLevel = "INFO" | "SUC" | "ERROR" | "WARN"; interface ExcelImportProps { serverKey?: string; sourceId: string; } interface ExcelImportStat { inputMaxMsgCount?: number; maxMsgCount?: number; percent?: number; statusMsg?: string; importStatus?: string; showLogLevelList?: LogLevel[]; logSetterOpen?: boolean; logs?: any[]; importFile?: any; logSerialId?: string; ltmplConfig?: LtmplConfig; msgIndex?: number; } export default class ExcelImport extends React.PureComponent { state: { maxMsgCount: number; inputMaxMsgCount: number; importStatus: string; importFile: any; logs: any[]; percent: number; statusMsg: any; logSetterOpen: boolean; showLogLevelList: LogLevel[]; logSerialId: any; ltmplConfig: any; msgIndex: number; }; static contextType: React.Context<{ locale: import("../locale/langMp").LocaleType; langPkg: any; availableLang: string[]; changeLocale: (locale: import("../locale/langMp").LocaleType) => void; siderCollapsed: boolean; changeSiderCollapsed: () => void; t: (...strs: string[]) => string; translate: (...strs: string[]) => string; getServiceLangStr?: () => string; compactTheme?: boolean; changeCompactTheme?: () => void; screenfull?: boolean; changeScreenfull?: () => void; }>; context: React.ContextType; timerId: any; componentDidMount(): Promise; componentWillUnmount(): void; handleUpload: () => void; handleStopImport: () => void; handleStatus: (importId: any) => void; onChangeShowLogLevelList: (showLogLevelList: any) => void; fresh: () => void; handleLogSetter: () => void; changeLogSetterOpen: (open: any) => void; download: () => void; render(): React.JSX.Element; } export {}; //# sourceMappingURL=excel-import.d.ts.map