import { ButtonHTMLAttributes, HTMLAttributes, TableHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes } from 'react'; export type TTableSortDirection = 'asc' | 'desc' | undefined; export type TTableCellVariant = 'number' | 'field' | 'checkbox' | 'button'; export declare const sizes: readonly ["s", "l", "m"]; export type TTableSize = typeof sizes[number]; export interface ITableContainerProps extends HTMLAttributes { size?: TTableSize; withStickyHeader?: boolean; isSubTable?: boolean; } export interface ITableProps extends TableHTMLAttributes { isSubTable?: boolean; } export type ISubTableProps = TableHTMLAttributes; export interface ITableCellProps extends TdHTMLAttributes { variant?: TTableCellVariant; withSubTable?: boolean; } export interface ITableRowProps extends HTMLAttributes { isSelected?: boolean; } export interface ITableHeaderCellProps extends ThHTMLAttributes { variant?: TTableCellVariant; isSortable?: boolean; sortDirection?: TTableSortDirection; onSort?: (sortDirection: TTableSortDirection) => void; } export type ITableHeaderProps = HTMLAttributes; export type ITableBodyProps = HTMLAttributes; export type ITableActionButtonProps = ButtonHTMLAttributes; export interface ITableExpandButtonProps extends ITableActionButtonProps { isExpanded?: boolean; }