import type { GroupRow } from '../types'; interface ViewportRowsArgs { rawRows: readonly R[]; rowHeight: number; clientHeight: number; scrollTop: number; groupBy: readonly string[]; rowGrouper?: (rows: readonly R[], columnKey: string) => Record; expandedGroupIds?: ReadonlySet; } export declare function useViewportRows({ rawRows, rowHeight, clientHeight, scrollTop, groupBy, rowGrouper, expandedGroupIds }: ViewportRowsArgs): { rowOverscanStartIdx: number; rowOverscanEndIdx: number; rows: readonly R[] | (R | GroupRow)[]; rowsCount: number; isGroupRow: (row: unknown) => row is GroupRow; }; export {};