import { type CellData, type ColumnDef, type Row, type RowData, type Table_Internal, type TableFeature, type TableFeatures, type TableOptions } from '@tanstack/react-table'; import { type PropsWithChildren } from 'react'; import type { DataTableExpandableRowProps, RowDetailsFeatureConstructors } from './row-details-types.js'; import type { DataTableRowData } from '../../public.api.js'; import type { TDataTableFeatures } from '../types/features.types.js'; /** * DataTable slot selection for expandable rows. * @public */ export declare function DataTableExpandableRowTemplate(props: DataTableExpandableRowProps): null; /** * Helper function to identify the ROW_DETAILS_COLUMN * @internal */ export declare function isRowDetailsColumnDef(column: ColumnDef): boolean; /** * Configuration hook for expandable rows of the DataTable. * @internal */ export declare function useRowDetails(props: PropsWithChildren, options: TableOptions>): void; /** * Allows access to the row model coming before the row details. */ export declare function table_getPreRowDetailsRowModel(table: Table_Internal): import("@tanstack/table-core").RowModel; /** * Allows access to the row details model if available. */ export declare function table_getRowDetailsRowModel(table: Table_Internal): any; /** * Helper to get a unique id for the table instance. * @internal */ export declare function table_rowDetailsTableId(table: Table_Internal): string; /** * Determines if the details row for a particular row is open. * @internal */ export declare function row_getIsDetailsOpen(row: Row): boolean; /** * Defines the grid position for the row details row. * @internal */ export declare function row_getRowDetailsGridPosition(row: Row): { gridColumnStart: number; gridColumnEnd: string; }; /** * Returns the aria control id to connect the expanding button to the * row details wrapper. * @internal */ export declare function row_getRowDetailsAriaControlsId(row: Row): string; /** * Determines if the details for this row can be shown. * @internal */ export declare function row_getCanOpenDetails(row: Row): boolean; /** * Control command to toggle the state of the rowDetails. * @internal */ export declare function row_toggleDetails(row: Row): void; /** * Constructs the column row details for the table, * including API implementations and prototype assignments. * @internal */ export declare function constructRowDetailsFeature(): TableFeature>; /** * Feature implementation for Row Details. * @internal */ export declare const DataTableRowDetailsFeature: TableFeature>;