import { ChartAggregatedWidgetOptions, Operation, ValueType } from '@onepoint-yap/dashboard'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export interface AggregationResult { operation: Operation; values: ({ key: ValueType; value: ValueType; } | { key: ValueType; groupBy: { key: ValueType; value: ValueType; }[]; })[]; } export declare class YapAggregationService { aggregate(datasource: string[], options: ChartAggregatedWidgetOptions): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }