UNPKG

@1771technologies/lytenyte-pro

Version:

Blazingly fast headless React data grid with 100s of features.

5 lines (4 loc) 443 B
import type { Column, GridSpec } from "../../../types/index.js"; import type { PivotModel } from "../../use-client-data-source.js"; import type { AggregationFn, Aggregator } from "@1771technologies/lytenyte-shared"; export declare function usePivotAggFunction<Spec extends GridSpec>(pivotColumns: Column<Spec>[] | null, model: PivotModel<Spec> | undefined, aggs?: Record<string, Aggregator<Spec["data"]>>): AggregationFn<Spec["data"]> | null;