import * as react_jsx_runtime from 'react/jsx-runtime'; import * as React from 'react'; import { RowMove } from './row-reorder-handle.js'; import { ColumnDef } from './types.js'; import { useTableState } from './use-table-state.js'; import { ConditionalRule } from '../../lib/table-properties-types.js'; import '../../lib/column-cell-kind.js'; import '../../lib/status-badge-tints.js'; import '../../lib/column-filter-context.js'; import '../../lib/column-filter-person-options.js'; import '../../lib/row-height.js'; type RowDragState = { id: string | number; overId: string | number | null; pos: "before" | "after"; } | null; interface DataTableGroupRowsProps> { /** The rows to draw — one group's worth, or the whole page when ungrouped. */ groupRows: TData[]; state: ReturnType>; columns: ColumnDef[]; selectable: boolean; onRowClick?: (row: TData) => void; /** Whether rows open a rail on this hub (a defined `openRowId`). */ rowsOpenRail: boolean; openRowId?: string | number | null; conditionalRules?: ConditionalRule[]; getRowIdProp?: (row: TData, index: number) => string | number; getRowSelectionLabel?: (row: TData, index: number) => string | undefined; onRowsReorder?: unknown; rowReorderDisabledReason?: string; rowDrag: RowDragState; rowDragRef: React.MutableRefObject; setRowDrag: (next: RowDragState) => void; setRowDragBoth: (next: RowDragState) => void; commitRowMove: (scope: TData[], from: number, to: number) => void; moveRowBy: (scope: TData[], from: number, move: RowMove) => void; cellStyle: (key: string) => React.CSSProperties; splitCountFor: (row: TData) => number; firstRightPinKey?: string; lastLeftPinKey?: string; } /** The ``s for one group of rows: selection, open-row marker, cells, and row drag. */ declare function DataTableGroupRows>({ groupRows, state, columns, selectable, onRowClick, rowsOpenRail, openRowId, conditionalRules, getRowIdProp, getRowSelectionLabel, onRowsReorder, rowReorderDisabledReason, rowDrag, rowDragRef, setRowDrag, setRowDragBoth, commitRowMove, moveRowBy, cellStyle, splitCountFor, firstRightPinKey, lastLeftPinKey, }: DataTableGroupRowsProps): react_jsx_runtime.JSX.Element; export { DataTableGroupRows, type DataTableGroupRowsProps, type RowDragState };