import type { ReactNode } from 'react'; import type { CommonProps } from '../types.js'; export interface TableBodyRowProps extends CommonProps { /** The cells that belong to this row. */ children: ReactNode; /** * The row's position within the full dataset, including headers. * * Provide this value if your table presents a subset of rows, such as when using pagination. * * This number must be: * - greater than or equal to `1` * - greater than the `rowNumber` of any previous rows * - less than or equal to the `totalRowCount` of the parent `Table` * * Use together with `totalRowCount` on the `Table` component. */ rowNumber?: number; /** * Whether the row is selected. * * This value will be ignored if `rowSelectionMode` on the `Table` component is set to `'none'`. */ isSelected?: boolean; /** * A function called when the row's selection state should change. * * If called without an argument, you are free to pick the new selection state based on your own logic. * If called with an argument, you must set the selection state to the provided value. */ onSelectionToggle?: (value?: boolean) => void; } /** * Renders a row within a table body. * * See [table usage guidelines](https://ui.cimpress.io/components/table/) and [table building guide](https://ui.cimpress.io/dev-guides/tables/). */ declare const _TableBodyRow: (props: TableBodyRowProps & import("react").RefAttributes) => import("react").JSX.Element | null; export { _TableBodyRow as TableBodyRow }; //# sourceMappingURL=table-body-row.d.ts.map