import { RangeValues } from '../../../vis_default_editor/public' ; import { heatmapVisType } from '../../heatmap/public' ; import { ColorSchemaParams } from '../../../charts/public' ; import { VisTypeDefinition } from '../../../visualizations/public' ; import { ValueAxis } from '../../xy/public' ; import { TimeMarker } from './vislib/visualizations/time_marker' ; import { CommonVislibParams } from './types' ; import { toExpressionAst } from './to_ast' ; export interface HeatmapVisParams extends CommonVislibParams , ColorSchemaParams { type : 'heatmap' ; addLegend : boolean ; enableHover : boolean ; colorsNumber : number | '' ; colorsRange : RangeValues [ ] ; valueAxes : ValueAxis [ ] ; setColorRange : boolean ; percentageMode : boolean ; percentageFormatPattern ? : string ; times : TimeMarker [ ] ; } export const heatmapVisTypeDefinition = { ... heatmapVisType ( { } ) , toExpressionAst , } as VisTypeDefinition < HeatmapVisParams > ;