import React from 'react'; import { ColumnDefinition } from '../Context/TableContext'; interface TableBodyRowProps { /** The data item representing this row. */ row: TData; /** The index of the row in the current dataset. */ rowIndex: number; /** The column definitions for the table. */ columnDefinitions: ColumnDefinition[]; /** * Optional callback triggered when the row is clicked. * * @note To prevent this handler from firing when clicking interactive elements * (e.g., buttons, links) inside a cell, add the `data-rt-ignore-row-click` * attribute to those elements. * * @example * // In your column definition's cellRenderer: * (row) => */ onRowClick?: (item: TData) => void; /** Configuration for row selection. */ selectionProps?: { onSelectionChange: (selectedItems: TData[]) => void; rowIdKey: keyof TData; mode?: 'single' | 'multiple'; selectedItems?: TData[]; selectedRowClassName?: string; }; /** Configuration for row animations. */ animationProps?: { isLoading?: boolean; animateOnLoad?: boolean; }; /** If true, row has expandable content (adds visual affordance) */ isExpandable?: boolean; /** Optional expand chevron cell rendered as the first column */ expandCell?: React.ReactNode; /** Mouse enter handler for hover tracking */ onMouseEnter?: () => void; /** Mouse leave handler for hover tracking */ onMouseLeave?: () => void; } export declare function TableBodyRow(props: TableBodyRowProps): React.JSX.Element; export {};