import { type Row, type RowData, type Table_Internal, type TableFeature, type TableFeatures } from '@tanstack/react-table'; import type { ExpandedState, RowSubRowsFeatureConstructors } from './sub-rows-types.js'; /** * Helper function to determine if all rows are expanded, based on the current expanded state and the flat row model. * @internal */ export declare function table_getIsAllRowsExpanded(table: Table_Internal, expandedState: ExpandedState, flatRows: Row[]): boolean; /** * Helper function to toggle allRows expanded state. * @internal */ export declare function table_toggleAllRowsExpanded(table: Table_Internal): void; /** * Helper function to find the columnId in which the indicator should be rendered. * @internal */ export declare function table_getSubRowIndicatorColumnId(table: Table_Internal, enableSubRows?: boolean, subrowColumnId?: string): string | null; /** * Helper function to calculate the maximum open depth of the subrows based on the current expanded state. * @internal */ export declare function table_getSubRowOpenDepth(table: Table_Internal, expandedState: ExpandedState): number; /** * Helper function to determine if the row or some of its ancestors are disabled. * @internal */ export declare function table_getIsAncestorDisabled(table: Table_Internal, expandedState: ExpandedState, row: Row): boolean; /** * Helper function to determine if the table has at least one row with at least one sub-row. * @internal */ export declare function table_getHasSubRows(table: Table_Internal): boolean; type RowLineConfigShape = 'Line' | 'TShape' | 'LShape' | 'Empty'; export declare function table_getRowLineConfig(table: Table_Internal, rowId: string): Array; /** * Helper function to toggle the expanded state of a specific row. * @internal */ export declare function row_toggleExpanded(row: Row, expanded?: boolean): void; /** * Helper function to determine if the given row is the last expanded row on its level. * @internal */ export declare function row_getIsLastExpandedOnLevel(row: Row, orderedFlatRows: Row[]): boolean; /** * Helper function to get the last expanded sub-row of the given row. * @internal */ export declare function row_getLastExpandedSubRow(row: Row): Row | undefined; /** * Helper function to determine if the given row is expanded based on the current expanded state. * @internal */ export declare function row_getIsExpanded(row: Row): boolean; /** * Determines whether the given subRow expander is disabled. * @internal */ export declare function row_getCanExpandDisabled(row: Row): boolean; /** * Helper function to calculate the depth of the row based on its id and the configured rowIdSeparator. * @internal */ export declare function row_getSubRowDepth(row: Row): number; /** * Constructs the column row subrows for the table, * including API implementations and prototype assignments. * @internal */ export declare function constructRowSubRowsFeature(): TableFeature>; /** * Feature implementation for Row Details. * @internal */ export declare const DataTableRowSubRowsFeature: TableFeature>; export {};