@1771technologies/lytenyte-pro
Version:
Blazingly fast headless React data grid with 100s of features.
6 lines (5 loc) • 584 B
TypeScript
import type { AggregationFn, RowLeaf, RowNode, SortFn } from "@1771technologies/lytenyte-shared";
import type { RootNode } from "./use-group-tree/use-group-tree";
type UseFlattenedGroupsReturn<T> = [rows: RowNode<T>[] | null, depth: number];
export declare function useFlattenedGroups<T>(root: RootNode<T> | null, agg: AggregationFn<T> | undefined | null, leafs: RowLeaf<T>[], workingSet: number[], sort: SortFn<T> | null | undefined, expandedFn: (id: string, depth: number) => boolean, suppressLeafExpansion: boolean, ignoreIsLast?: boolean): UseFlattenedGroupsReturn<T>;
export {};