NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/@antv/data-set/lib/basic-transform/aggregate.d.ts
2023-09-14 14:47:11 +08:00

10 lines
327 B
TypeScript

import * as statistics from '../util/statistics';
import { RowData } from '../helper';
export interface AggregateParams {
as: string[];
fields?: string[];
groupBy?: string | string[];
op: Array<keyof typeof statistics>;
}
export declare function aggregate(rows: RowData[], options: AggregateParams): RowData[];