import { TableProps } from '../interfaces'; interface ExpandableItemProps extends ExpandableItemDetail { isExpandable: boolean; isExpanded: boolean; onExpandableItemToggle: () => void; expandButtonLabel?: string; collapseButtonLabel?: string; itemsCount?: number; selectedItemsCount?: number; } interface ExpandableItemDetail { level: number; setSize: number; posInSet: number; parent: null | T; children: readonly T[]; } export interface InternalExpandableRowsProps { isExpandable: boolean; allItems: readonly T[]; getExpandableItemProps(item: T): ExpandableItemProps; hasGroupSelection: boolean; groupSelection: TableProps.GroupSelectionState; onGroupSelectionChange?: TableProps.OnGroupSelectionChange; totalItemsCount?: number; totalSelectedItemsCount?: number; } export declare function useExpandableTableProps({ items, expandableRows, trackBy, ariaLabels }: { items: readonly T[]; expandableRows?: TableProps.ExpandableRows; trackBy?: TableProps.TrackBy; ariaLabels?: TableProps.AriaLabels; }): InternalExpandableRowsProps; export {};