/// import type { AnyObject } from "../../_util/type"; import type { TableContextProps } from '../context/TableContext'; import type { Key } from '../interface'; type ContextValues = Pick, 'prefixCls' | 'fixedInfoList' | 'flattenColumns' | 'expandableType' | 'expandRowByClick' | 'onTriggerExpand' | 'rowExpandable' | 'indentSize' | 'expandIcon' | 'expandedRowRender' | 'expandIconColumnIndex' | 'expandedKeys' | 'childrenColumnName' | 'onRow' | 'selectedRowKeys' | 'editingRowKey'>; export default function useRowInfo(record: RecordType, rowKey: Key, recordIndex: number): ContextValues & { selected: boolean; columnsKey: React.Key[]; nestExpandable: boolean; expanded: boolean; hasNestChildren: boolean; record: RecordType; rowSupportExpand: boolean; expandable: boolean; rowProps: React.HTMLAttributes & React.TdHTMLAttributes; }; export {};