import { ComponentPropsWithoutRef } from 'react'; import { CommonTableCellProps } from './types'; /** * The common props for the TableHeaderCell component */ export type CommonTableHeaderCellProps = CommonTableCellProps & { /** * Whether the cell is a group cell (for grouped columns) */ isGroup?: boolean; /** * Whether the header cell can be used to activate column sorting */ isSortable?: boolean; /** * Whether the header cell should show whole-cell interactive affordances */ isInteractiveHeaderCell?: boolean; }; export type SimpleTableHeaderCellProps = CommonTableHeaderCellProps & ComponentPropsWithoutRef<"th">; export type DataTableHeaderCellProps = CommonTableHeaderCellProps & ComponentPropsWithoutRef<"div">; /** * The props for the TableHeaderCell component */ export type TableHeaderCellProps = ({ /** * The type of table being rendered */ type: "simple"; } & SimpleTableHeaderCellProps) | ({ /** * The type of table being rendered */ type: "data-table"; } & DataTableHeaderCellProps); /** * The styled table header cell component * @param props - The props for the TableHeaderCell component * @param props.type - The type of table being rendered * @param props.children - The children to render in the cell * @param props.className - The class name of the TableHeaderCell component * @param props.rest - The rest of the props */ export declare const TableHeaderCell: import('react').ForwardRefExoticComponent>;