import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { Vis, VisType } from '../../shared/types'; /** * Visualization type component declaration, responsible for showing visualization type options in mav-selection */ export declare class VisualizationTypeComponent implements OnChanges { /** * Input for the visualization currently active, or being viewed by the user */ activeVis: Vis; /** * Input for the currently selected mode by the user */ mode: 'add' | 'edit'; /** * Input for the state of the selection panel */ panelState: boolean; /** * Output vis type selection event-emitter */ visSelected: EventEmitter; /** * Vis type selected */ selected: VisType; /** * Available Vis types for selection */ visTypes: VisType[]; /** * on changes lifecycle hook for visualization-type component * Detects changes in input panel-state property * @param changes The changed properties object */ ngOnChanges(changes: SimpleChanges): void; /** * Emits true or false based on if a visualization has been selected * @param type visualization-type selected */ visualizationSelected(type: VisType): void; /** * Determines whether a vis-type is selected by the user * @param type vis-type of the mat-card * @returns true if the vis-type is selected by the user */ isSelected(type: VisType): boolean; }