import * as React from 'react'; import { TableCellAlign, TableSortDirection } from './Table'; export interface TableHeaderCellProps extends React.HTMLAttributes { /** * Text alignment of the cell content. Right alignment should be used for numeric values * @default TableCellAlign.left */ align?: TableCellAlign; /** * @default false * If true, style as a row header rather than a column header */ isRowHeader?: boolean; /** * If true, the header will render a button for sorting */ isSortable?: boolean; /** * Event that fires when clicking the table header cell sort button */ onSort?: () => void; /** * Direction and range of data cells that are covered by the header cell * @default TableHeaderCellScope.col */ scope?: TableHeaderCellScope; /** * Direction by which the column is sorted * @default TableSortDirection.none */ sortDirection?: TableSortDirection; /** * @internal */ testId?: string; /** * Width of the component, set by CSS. Header text wraps onto multiple lines * when it exceeds the column width. * @default auto */ width?: string | number; /** * Indicates how many columns the header cell spans or extends */ colSpan?: number; /** * Indicates how many rows the header cell spans or extends */ rowSpan?: number; /** * @internal */ header?: string; } export declare enum TableHeaderCellScope { col = "col", colgroup = "colgroup", row = "row", rowgroup = "rowgroup" } export declare const TableHeaderCell: React.ForwardRefExoticComponent>;