import PageResult from "../entity/PageResultTs";
import { OptBtnsPositionType, Table } from "../entity/Table";
import { BaseColumn } from "../entity/Table/BaseColumn";
import { ColumnFilter } from "../entity/Table/Column";
import { IBaseTableData } from "../entity/Table/IBaseTableData";
import { KeyStrValuePair, KeyValuePair } from "../entity/KeyValuePair";
import { Sort } from "../entity/Table/Sort";
import { ITreeNode } from "../entity/TreeNode";
import { DataStatistic } from "../entity/Table/DataStatistic";
import { ParamsForGetTableRows } from "../entity/DTO/ParamsForGetTableRows";
import { ParamsForGetTableFormat } from "../entity/DTO/ParamsForGetTableFormat";
import { ParamsForGetColumnFilter } from "../entity/DTO/ParamsForGetColumnFilter";
import { ParamsForCreateOrUpdateRowCell } from "../entity/DTO/ParamsForCreateOrUpdateRowCell";
export declare class BizTable {
private apiTable;
constructor(baseURL?: string);
getTableFormat(moduleName: string, tabName: string, params?: ParamsForGetTableFormat): Promise
>;
getTableRows(moduleName: string, tabName: string, params: ParamsForGetTableRows): Promise>;
getTableSubRows(moduleName: string, tabName: string, rowData: {
id: string;
$level: number;
$parentId: string;
}, params: {
columns: BaseColumn[];
sorts?: Sort[];
filterMode: "single" | "multiple" | "view" | "none";
filterListItems?: ITreeNode[][];
}): Promise;
getCellSelectList(moduleName: string, tabName: string, params: {
rowId?: string;
columnId: string;
}): Promise;
updateCellSelect(moduleName: string, tabName: string, params: {
rowId: string;
columnId: string;
newKeyValue: KeyValuePair;
}): Promise;
updateColumnOrder(moduleName: string, tabName: string, columnIds: string[]): Promise>;
updateOperationBtnsPosition(moduleName: string, tabName: string, params: {
optBtnsPosition: OptBtnsPositionType;
optBtnsTarget?: BaseColumn;
}): Promise>;
updateColumnActive(moduleName: string, tabName: string, columns: BaseColumn[]): Promise>;
getDataStatistics(moduleName: string, tabName: string, params: ParamsForGetTableRows): Promise;
updateDataStatisticsActive(moduleName: string, tabName: string, dataStatistics: DataStatistic[]): Promise>;
getDownloadDataUrl(moduleName: string, tabName: string, params: ParamsForGetTableRows): Promise;
getColumnFilterByColumn(moduleName: string, tabName: string, params: ParamsForGetColumnFilter): Promise;
createOrUpdateRowCells(moduleName: string, tabName: string, rowId: string | null | undefined, params: ParamsForCreateOrUpdateRowCell[], columns: BaseColumn[]): Promise;
rawRowsToTableDataConverter(rows: any[], columns: BaseColumn[], level?: number, // 针对树形数据,表示第几层
$parentId?: string): IBaseTableData[];
private rawColumnFilterConverter;
private isNotEmpty;
}