import type { ProFormInstance } from 'ls-pro-form'; import type { ModalFormProps } from 'ls-pro-form'; export declare type exportParam = { fileName: string; findUrl?: string; requestMethodType: 'GET' | 'POST'; exportFileFormat: 'xlsx' | 'xls'; moduleName: string; exportColumns: { field: string; title: string; width: number; }[]; exportCombos: any; ifPage?: 0 | 1; pageNum?: number; pageSize?: number; searchRequestBody?: any; searchData?: string; shardingFieldName?: string; shardingFieldValue?: string; idFieldName?: string; exportTaskId?: string; verificationCode?: string; maxRowSize?: number; } & Record; export declare type TableExportProps = ModalFormProps & { /** @name, 导出业务接口 */ bizApi: string; /** @name, 导出文件名 */ fileName?: string; /** @name, 请求方式 */ httpMethod?: 'GET' | 'POST'; /** @name, 是否大数据导出 */ ifBig?: boolean; /** @name, 是否同步导出 */ ifSync?: boolean; /** @name, 后端接口是否需要网关 */ needGateway?: boolean; shardingFieldName?: string; shardingFieldValue?: string; idFieldName?: string; onExport: (url: string, params: exportParam) => Promise; columns?: any[]; isV2?: boolean; note?: string; labelField?: string; valueField?: string; isSafe?: boolean; beforeExport?: (params: exportParam) => Promise; maxRowSize?: number; }; declare const _default: (prop: TableExportProps & { /** @name, 表格列 */ tableColumns: any[]; params?: any; /** @name, 查询表单Ref */ searchRef?: React.MutableRefObject; ifHistory: 0 | 1; }) => JSX.Element; export default _default;