import { ColumnData, ElementsRowsData, GetRowCellHeight, RenderRowCell, RowValue, TableRowsData, RowId } from '../../types/basicTable';
type Props = {
    rowsData: ElementsRowsData;
    columnsData: ColumnData[];
    renderRowCell: RenderRowCell;
    getRowCellHeight: GetRowCellHeight;
    maxRowValuesCount: number;
    getIdFromRowValue?: (rowValue: RowValue, rowIndex: number) => RowId;
    applyMaxValuesCountConstraint?: (maxValuesCount: number) => (rowValue: RowValue) => RowValue;
};
export declare const useCollapsibleTableRows: ({ rowsData, columnsData, renderRowCell, getRowCellHeight, maxRowValuesCount, getIdFromRowValue, applyMaxValuesCountConstraint }: Props) => {
    tableRowsData: TableRowsData;
    collapseContextValue: {
        maxRowValuesCount: number;
        toggleRowCollapse: (rowIndex: number) => void;
        getIsRowCollapsible: (rowValue: Record<string, unknown>) => any;
        getIsRowCollapsed: (rowIndex: number) => boolean;
    };
};
export {};
