import { type JSX } from 'react'; import type { DataTableSubRowsProps } from './sub-rows-types.js'; import type { TableFeature, TableOptions } from '../../hooks/useTable/types.js'; import type { DataTableRowData } from '../../public.api.js'; /** * Default accessor for the subRows * @internal */ export declare function defaultSubRowsAccessor(originalRow: TData): TData[]; /** * @internal */ export declare const DataTableSubRows: TableFeature; /** * Calculates the width for the subrow indicator cell based on the current indent width. * @param rowDensity - the configured row density of the table * @param indentWidth - the current indent width based on the subrow depth * @internal */ export declare function getSubRowCellWidth(rowDensity: 'default' | 'condensed' | 'comfortable', indentWidth: number): string; /** * Corrects the subrow header width in situations where content width is not sufficient. * This is the case when rows are virtualized or paginated. * @internal */ export declare function SubRowsHeaderWidthCorrection(props: Readonly<{ subRowOpenDepth: number; }>): JSX.Element; /** * Configuration hook for subrows of the DataTable. * @internal */ export declare function useSubRows(props: DataTableSubRowsProps, options: TableOptions): void;