1 | import Base from './base';
|
2 | import Row from './row';
|
3 | import { OneDArray, TCell, TwoDArray } from './types';
|
4 | declare class Tabular extends Base {
|
5 | private _rows;
|
6 | private _length;
|
7 | constructor(rows?: Row[] | Row);
|
8 | get rows(): Row[];
|
9 | set rows(rows: Row[]);
|
10 | get length(): number;
|
11 | set length(len: number);
|
12 | toArray(): TCell[][];
|
13 | static fromRows(rows: Row[]): Tabular;
|
14 | static fromArray<T extends TCell>(data: OneDArray<T> | TwoDArray<T>): Tabular;
|
15 | }
|
16 | export default Tabular;
|