import React from "react";
/**
* Groups HTML elements by their vertical position (top coordinate)
* and includes bottom position information
*/
export interface NodePosition {
elements: Set;
bottom: number;
top: number;
}
export declare function groupNodesByTopPosition(nodes: HTMLElement[]): Record;
/**
* Helper function to get row information from container
* Returns itemsSizesMap, rowPositions, and children or null if the container is not available
*/
export declare function getRowPositionsData(containerRef: React.RefObject, overflowRef: React.RefObject): {
itemsSizesMap: Record;
rowPositions: number[];
children: HTMLElement[];
} | null;