import { RevoGrid } from '../../interfaces'; import { DataSourceState } from '../../store/dataSource/data.store'; import { ROW_INDEX_WIDTH_DEPENDING_ON_DEPTH } from './grouping.const'; export { ROW_INDEX_WIDTH_DEPENDING_ON_DEPTH }; export declare function getGroupingName(row?: RevoGrid.DataType): any; export declare function isGrouping(row?: RevoGrid.DataType): boolean | undefined; export declare function isHeaderGrouping(row?: RevoGrid.DataType): boolean | undefined; export declare function isFooterGrouping(row?: RevoGrid.DataType): boolean | undefined; export declare function isAddFooterGrouping(row?: RevoGrid.DataType): boolean | undefined; export declare function isGapGrouping(row?: RevoGrid.DataType): boolean | undefined; export declare function isGroupingColumn(column?: RevoGrid.ColumnRegular): boolean | undefined; export declare function isArray(data: any | T[]): data is T[]; export declare function getParsedGroup(id: string): any[] | null; /** * Simple grouping helper to get currentDepth * @dataRow the row data object. Remember, items with content in it do not have `GROUP_DEPTH` */ export declare const getCurrentDepth: (dataRow: any) => number; /** Checks when to stop trimming. It should only do this when it leaves the "section" of the grouping */ export declare const shouldStopTrimming: (rootRow: RevoGrid.DataType | null, targetRow: RevoGrid.DataType) => boolean; export declare const getGroupingRowSizes: (row: RevoGrid.DataType) => number; export declare const getGroupValue: (y: number, dataStore: DataSourceState) => RevoGrid.DataType | null;