import { ElementRef, EventEmitter, OnInit } from "@angular/core"; import { FormBuilder, FormGroup } from "@angular/forms"; import { MetricColumn } from "../model/metric"; import { ISelectMetadata } from "../model/chart-custom"; import * as i0 from "@angular/core"; export declare class MetricPopoverComponent implements OnInit { private fb; cancelMetric: EventEmitter; saveMetric: EventEmitter; saveAndClose: EventEmitter; metricColumn?: MetricColumn; closeOnSelect?: boolean; columns: ISelectMetadata[]; metricIndex: number; inputLabelElement: ElementRef; nameLabelCustom: string; touchedSubmit: boolean; clearable: boolean; isCustomLabel: boolean; form: FormGroup; selectedFilters: any[]; aggregates: string[]; constructor(fb: FormBuilder); ngOnInit(): void; ngAfterViewInit(): void; private getFormData; onCustomLabel(): void; onChangeLabel(): void; onChangeColumn(column: ISelectMetadata): void; changeAggregate(type: string): void; onClose(): void; onSave(): void; onSaveAndClose(): void; save(): MetricColumn; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }