10 lines
327 B
TypeScript
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[];
|