import { Vis , PersistedState } from 'src/plugins/visualizations/public' ; import { IAggConfigs } from 'src/plugins/data/public' ; export interface VisOptionsProps < VisParamType = unknown > { aggs : IAggConfigs ; hasHistogramAgg : boolean ; isTabSelected : boolean ; stateParams : VisParamType ; vis : Vis ; uiState : PersistedState ; setValue < T extends keyof VisParamType > ( paramName , value ) : void ; setValidity ( isValid ) : void ; setTouched ( isTouched ) : void ; }