import { RawTable, TableOptions } from '../types'; import { DataBase } from './base'; export declare class DataTable extends DataBase { private _data; /** * Row keys of the table. */ get rows(): Meta[]; /** * Column keys of the table. */ get columns(): Meta[]; /** * Matrix data of the table. */ get body(): import("../types").RawTableList; constructor(data: RawTable); /** * Select to generate a submatrix. * @param rows * The rows of the submatrix. * @param columns * The columns of the submatrix. * @returns * New `DataTable` containing specific rows and columns. */ select(rows: Meta[], columns: Meta[]): DataTable; /** * Append rows or columns to the current table. * @param target * Operating mode. * @param data * Append data with row name or column name. */ push(target?: TableOptions['target'], ...data: Meta[][]): void; /** * Remove rows or columns from the current table. * @param target * Operating mode. * @param data * Array of rows or columns. */ remove(target?: TableOptions['target'], ...data: Meta[]): void; /** * Calculate the maximum and minimum values in the current table. * @remarks * This usually requires lists to be of the same type. * @returns * Return maximum and minimum. */ range(): Vec2; }