import { ReactNode } from 'react'; import { EntityColumnProps } from '../components/layout'; import { PageInfo } from 'matrix-ui-service'; import { TablePaginationConfig } from 'antd/lib/table/interface'; export declare class TableUtil { static commonColumnRenders: { booleanLabel: typeof TableUtil.booleanLabel; timeFormatter: typeof TableUtil.timeFormatter; numberLabel: typeof TableUtil.numberLabel; numberColorLabel: typeof TableUtil.numberColorLabel; }; static commonColumns: { [key: string]: EntityColumnProps; }; static commonSortFunctions: { numberSort: typeof TableUtil.numberSort; }; static timeFormatter(date: Date): string; static booleanLabel(value: boolean): string; static numberLabel(value?: number): ReactNode; static numberColorLabel(value?: number): ReactNode; static toPageInfo(pagination: TablePaginationConfig): PageInfo; static fromPageInfo(pageInfo: PageInfo): TablePaginationConfig; static numberSort(dataIndex: string, a: any, b: any): number; }