import { GridCollection, GridNode, IGridCollection } from '../grid/GridCollection'; import { Key } from '@react-types/shared'; export interface ITableCollection extends IGridCollection { /** A list of header row nodes in the table. */ headerRows: GridNode[]; /** A list of column nodes in the table. */ columns: GridNode[]; /** A set of column keys that serve as the [row header](https://www.w3.org/TR/wai-aria-1.1/#rowheader). */ rowHeaderColumnKeys: Set; /** The node that makes up the header of the table. */ head?: GridNode; /** The node that makes up the body of the table. */ body: GridNode; } interface GridCollectionOptions { showSelectionCheckboxes?: boolean; showDragButtons?: boolean; } /** @private */ export declare function buildHeaderRows(keyMap: Map>, columnNodes: GridNode[]): GridNode[]; export declare class TableCollection extends GridCollection implements ITableCollection { headerRows: GridNode[]; columns: GridNode[]; rowHeaderColumnKeys: Set; body: GridNode; _size: number; constructor(nodes: Iterable>, prev?: ITableCollection | null, opts?: GridCollectionOptions); [Symbol.iterator](): IterableIterator>; get size(): number; getKeys(): IterableIterator; getKeyBefore(key: Key): Key | null; getKeyAfter(key: Key): Key | null; getFirstKey(): Key | null; getLastKey(): Key | null; getItem(key: Key): GridNode | null; at(idx: number): GridNode | null; getChildren(key: Key): Iterable>; getTextValue(key: Key): string; } export {};