import { HTMLWidget, Widget } from "@hpcc-js/common";
import "../src/Table.css";
export declare class Table extends HTMLWidget {
protected _paginator: any;
protected _selectionBag: any;
protected _selectionPrevClick: any;
protected _paginatorTableSpacing: any;
tableDiv: any;
thead: any;
table: any;
fixedHead: any;
fixedHeadTable: any;
fixedThead: any;
unfixedThead: any;
tbody: any;
tfoot: any;
fixedCol: any;
fixedColTable: any;
fixedColHead: any;
fixedColHeadRow: any;
fixedColBody: any;
fixedColFoot: any;
fixedColFootRow: any;
protected _prevDescending: any;
protected _prevSortByFieldIndex: any;
protected _hasChildWidgets: any;
protected _tNumPages: any;
protected _empty_col_idx_arr: any[];
constructor();
size(): any;
size(_: any): Widget;
isHidden(colIdx: any): boolean;
tableColumns(_?: string[]): string[];
tableData(_?: any): any;
field(rowIdx: any, colIdx: any): {
transform: (d: any) => any;
};
calcFieldsIndex(colIdx: any): any;
getEmptyColumnIdxArr(columns: any, data: any): any[];
enter(domNode: any, element: any): void;
update(domNode: any, element: any): void;
exit(domNode: any, element: any): void;
setColumnWidths(rows: any): void;
getBodyRow(i: any): any;
getFixedRow(i: any): any;
setOnScrollEvents(scrollNode: any, margHeight: any): void;
_generateTempRow(): any;
_createSelectionObject(d: any): {
_id: any;
element: () => any;
};
_calcRowsPerPage(th: any): number;
sort(idx: any): this;
selection(_: any): any;
selectionBagClick(d: any, i: any): void;
applyHoverRowStyles(row: any): void;
applySelectedRowStyles(row: any): void;
applyRowStyles(row: any, isFirstCol?: boolean): void;
applyFirstColRowStyles(rows: any): void;
applyStyleToRows(rows: any, isFirstCol?: boolean): void;
getColumnAlignment(rowIdx: any, colIdx: any, cell: any): string;
serializeState(): {
selection: any;
data: any;
};
deserializeState(state: any): this;
click(row: any, column: any, selected: any): void;
dblclick(row: any, column: any, selected: any): void;
headerClick(column: any, idx: any): void;
}
export interface Table {
renderHtmlDataCells(): boolean;
renderHtmlDataCells(_: boolean): this;
pagination(): boolean;
pagination(_: boolean): this;
paginationLimit(): any;
paginationLimit(_: any): this;
itemsPerPage(): any;
itemsPerPage(_: any): this;
pageNumber(): number;
pageNumber(_: number): this;
adjacentPages(): number;
adjacentPages(_: number): this;
topN(): number;
topN(_: number): this;
pivot(): boolean;
pivot(_: boolean): this;
showHeader(): boolean;
showHeader(_: boolean): this;
fixedHeader(): boolean;
fixedHeader(_: boolean): this;
fixedColumn(): boolean;
fixedColumn(_: boolean): this;
multiSelect(): boolean;
multiSelect(_: boolean): this;
fixedSize(): boolean;
fixedSize(_: boolean): this;
hideEmptyColumns(): boolean;
hideEmptyColumns(_: boolean): this;
theadFontSize(): string;
theadFontSize(_: string): this;
tbodyFontSize(): string;
tbodyFontSize(_: string): this;
tfootFontSize(): string;
tfootFontSize(_: string): this;
theadFontColor(): string;
theadFontColor(_: string): this;
tbodyFontColor(): string;
tbodyFontColor(_: string): this;
tfootFontColor(): string;
tfootFontColor(_: string): this;
theadFontFamily(): string;
theadFontFamily(_: string): this;
tbodyFontFamily(): string;
tbodyFontFamily(_: string): this;
tfootFontFamily(): string;
tfootFontFamily(_: string): this;
theadCellBorderColor(): string;
theadCellBorderColor(_: string): this;
tfootCellBorderColor(): string;
tfootCellBorderColor(_: string): this;
theadRowBackgroundColor(): string;
theadRowBackgroundColor(_: string): this;
tfootRowBackgroundColor(): string;
tfootRowBackgroundColor(_: string): this;
tbodyCellBorderColor(): string;
tbodyCellBorderColor(_: string): this;
tbodyRowBackgroundColor(): string;
tbodyRowBackgroundColor(_: string): this;
tbodyFirstColFontColor(): string;
tbodyFirstColFontColor(_: string): this;
tbodyFirstColBackgroundColor(): string;
tbodyFirstColBackgroundColor(_: string): this;
tbodyHoverRowFontColor(): string;
tbodyHoverRowFontColor(_: string): this;
tbodyHoverRowBackgroundColor(): string;
tbodyHoverRowBackgroundColor(_: string): this;
tbodySelectedRowFontColor(): string;
tbodySelectedRowFontColor(_: string): this;
tbodySelectedRowBackgroundColor(): string;
tbodySelectedRowBackgroundColor(_: string): this;
tableZebraColor(): string;
tableZebraColor(_: string): this;
tableZebraColor_exists(): boolean;
totalledColumns(): any[];
totalledColumns(_: any[]): this;
totalledLabel(): string;
totalledLabel(_: string): this;
hiddenColumns(): any[];
hiddenColumns(_: any[]): this;
stringAlign(): string;
stringAlign(_: string): this;
numberAlign(): string;
numberAlign(_: string): this;
verticalAlign(): string;
verticalAlign(_: string): this;
minWidgetWidth(): number;
minWidgetWidth(_: number): this;
minWidgetHeight(): number;
minWidgetHeight(_: number): this;
sortByFieldIndex(): number;
sortByFieldIndex(_: number): this;
sortByFieldIndex_exists(): boolean;
descending(): boolean;
descending(_: boolean): this;
}