import { Store } from '@ngrx/store'; import { AtLimit, ChartAggregatedWidgetOptions, Item, Operation, TimeLimit, ValueType } from '@onepoint-yap/dashboard'; import { Observable } from 'rxjs'; import { AggregationResult, YapAggregationService } from './base-aggregation.service'; import * as i0 from "@angular/core"; export declare class YapFrontendAggregationService extends YapAggregationService { private store; constructor(store: Store); aggregate(datasource: string[], options: ChartAggregatedWidgetOptions): Observable; getValueFromOperation(items: Item[], operation: Operation, abscissa: string, ordinate: string, limit?: AtLimit | TimeLimit): { key: ValueType; value: ValueType; }[]; groupBy(items: Item[], attribute: string): any; getValueFromAttribute(item: Item, attribute: string): import("@onepoint-yap/dashboard").AttributeSimpleValue; getSum(items: Item[], attribute: string): number; getMin(items: Item[], attribute: string): ValueType; getMax(items: Item[], attribute: string): ValueType; getAverage(items: Item[], attribute: string): number; getDistinct(items: Item[], attribute: string): number; getQuartile(items: Item[], attribute: string, q: number): number; getPercentile(items: Item[], attribute: string, q: number): number; formatByLimit(data: { key: ValueType; value: ValueType; }[], limit: AtLimit | TimeLimit): { key: ValueType; value: ValueType; }[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }