export declare type Aggregation = AverageAggregation | SumAggregation | StringMaxAggregation | StringMinAggregation | KeyAggregation | SelectionAggregation; export declare type ViewAggregation = AverageAggregation | SumAggregation | StringMaxAggregation | StringMinAggregation | ConstrainedAggregation | SelectionAggregation; export interface AverageAggregation { type: 'average'; } export interface StringMinAggregation { type: 'stringMin'; } export interface StringMaxAggregation { type: 'stringMax'; } export interface SumAggregation { type: 'sum'; } export interface ConstrainedAggregation { type: 'constrained'; defaultAggregation: ViewAggregation; } export interface SelectionAggregation { type: 'selection'; relationIds: string[]; } export interface KeyAggregation { type: 'key'; keys: string[]; defaultAggregation: Aggregation; }