declare type jsonToExcelOptions = { file: File; fieldNames?: { title: string; dataIndex: string; }; onLoadEnd?: (jsonData: any[]) => void; columns: Array<{ title: string; dataIndex: string; [k: string]: any; }>; }; /** * Excel转Json数据 * @param XLSX xlsx-js-style * @param options * @returns */ export declare const excelToJson: (XLSX: any, options: jsonToExcelOptions) => void; export {};