import { ColumnElement, ColumnRenderer } from './Column'; import { JSX } from 'react'; export interface TableHeaderProps { /** A list of table columns. */ columns?: readonly T[]; /** * A list of `Column(s)` or a function. If the latter, a list of columns must be provided using * the `columns` prop. */ children: ColumnElement | ColumnElement[] | ColumnRenderer; } /** * A TableHeader is a container for the Column elements in a Table. Columns can be statically * defined as children, or generated dynamically using a function based on the data passed to the * `columns` prop. */ declare let _TableHeader: (props: TableHeaderProps) => JSX.Element; export { _TableHeader as TableHeader };