import React from 'react'; import { ColumnWidthStyle } from '../column-widths-utils'; import { TableProps } from '../interfaces'; import { StickyColumnsModel } from '../sticky-columns'; import { TableRole } from '../table-role'; import { SortingStatus } from './utils'; export interface TableThElementProps { resizableStyle?: ColumnWidthStyle; sortingStatus?: SortingStatus; sortingDisabled?: boolean; /** * When true, the visual caret driven by `sortingStatus` is preserved but the * `aria-sort` attribute is omitted. Used for non-primary columns in a * multi-column sort, where ARIA only allows one column to declare itself * sorted. */ suppressAriaSort?: boolean; focusedComponent?: null | string; stuck?: boolean; sticky?: boolean; resizable?: boolean; hidden?: boolean; stripedRows?: boolean; isSelection?: boolean; colIndex: number; columnId: PropertyKey; stickyState: StickyColumnsModel; cellRef?: React.RefCallback | null; tableRole: TableRole; children: React.ReactNode; variant: TableProps.Variant; tableVariant?: TableProps.Variant; ariaLabel?: string; colSpan?: number; rowSpan?: number; scope?: 'col' | 'colgroup'; columnGroupId?: string; isLast?: boolean; /** * For cells that span multiple columns (group headers): the column id of the boundary leaf * whose sticky shadow this cell should inherit. The cell's position still comes from `columnId`. */ stickyBoundaryColumnId?: PropertyKey; } export declare function TableThElement({ resizableStyle, sortingStatus, sortingDisabled, suppressAriaSort, focusedComponent, stuck, sticky, resizable, hidden, stripedRows, isSelection, colIndex, columnId, stickyState, cellRef, tableRole, children, variant, ariaLabel, tableVariant, colSpan, rowSpan, scope, columnGroupId, isLast, stickyBoundaryColumnId, ...props }: TableThElementProps): JSX.Element;