///
import { TableProps, ColumnProps } from 'antd/lib/table';
import { HackPaginationConfig } from './TablePagination';
import { TransformExportData } from '../utils/exportHelper';
export declare const MENU_STROGE_ALL_COLUMNS = "MENU_STROGE_ALL_COLUMNS";
export interface ColumnObject extends ColumnProps {
visible?: boolean;
}
export interface CommonBaseTableProps {
widthIdName: string;
dataSource: T[];
pageKey: string;
height: number;
table: TableProps;
fixedHeight: number;
resize: boolean;
pagination: false | HackPaginationConfig;
showConfig: {
showPage: boolean;
displayColumn: boolean;
exportTable: boolean;
};
exportTotal: string[];
exportTotalPrecision: number;
exportTransformData: TransformExportData;
searchMode: boolean;
}
/**
* 公共表格组件
* 页选择器、导出当前页、选择列功能
*
* 注意事项:每列必须设置宽度
* @class CommonBaseTable
* @extends {React.Component}
*/
export declare type FinCommonBaseTable = (props: Partial>) => JSX.Element;
export declare const CommonBaseTable: FinCommonBaseTable;
export declare const CommonTable: FinCommonBaseTable;