import type { IColumn, IRecord } from '../table/types';
import type { IOptions } from './index';
type IParamsFn1 = (columns: IColumn[], tableData: IRecord[]) => Record<string, number>[];
type IParamsFn2 = (row: IRecord, rowIndex: number, column: IColumn, columnIndex: number) => string | number;
declare const useExport: () => {
    exportXLSX: (options: IOptions, dataList: IRecord[], calcSummationValues: IParamsFn1, renderCell: IParamsFn2) => Promise<Blob>;
    exportCSV: (options: IOptions, tableHTML: string) => Blob;
    importXLSX: (options: {
        columns: IColumn[];
        file: Blob;
    }, callback?: ((records: IRecord[]) => void) | undefined) => void;
};
export default useExport;
