import { RevoGrid } from '../../interfaces'; /** * Starting from the index of the row where we begin collapsing. We go down the row list * and begin trimming rows. Once it reaches a row that is a GROUP row, `shouldStopTrimming` * should detect when it should stop trimming. */ export declare function doCollapse(pIndex: number, source: RevoGrid.DataType[]): { trimmed: Record; }; /** * * @param pIndex - physical index * @param vIndex - virtual index, need to update item collection * @param source - data source * @param rowItemsIndexes - row indexes */ export declare function doExpand(vIndex: number, source: RevoGrid.DataType[], rowItemsIndexes: number[]): { trimmed: Record; items?: number[] | undefined; };