import { ITree } from '../tree'; import { DataRowMap, DataRowPathItem, DataRowProps } from '../../../../types'; import { NodeStats } from './stats'; import { CommonTreeConfig } from '../tree/hooks/strategies/types/common'; export interface UseBuildRowsProps extends Pick, 'dataSourceState' | 'rowOptions' | 'getRowOptions' | 'cascadeSelection'> { tree: ITree; getEstimatedChildrenCount: (id: TId) => number; getMissingRecordsCount: (id: TId, totalRowsCount: number, loadedChildrenCount: number) => number; maxVisibleRowIndex: number; getRowProps: (item: TItem, index: number, rowsMap: DataRowMap, stats: NodeStats) => DataRowProps; getLoadingRowProps: (id: any, index?: number, path?: DataRowPathItem[]) => DataRowProps; isLoading?: boolean; } export declare function useBuildRows({ tree, dataSourceState, getEstimatedChildrenCount, getMissingRecordsCount, cascadeSelection, maxVisibleRowIndex, getRowProps, getLoadingRowProps, isLoading, }: UseBuildRowsProps): { rows: DataRowProps[]; rowsMap: DataRowMap; pinned: Record; pinnedByParentId: Record; stats: NodeStats; }; //# sourceMappingURL=useBuildRows.d.ts.map