UNPKG

@grafana/ui

Version:
14 lines (13 loc) 819 B
import { type PanelModel, type ReduceDataOptions, type ValueMapping, VizOrientation } from '@grafana/data'; import { type OptionsWithTextFormatting } from '@grafana/schema'; export interface SingleStatBaseOptions extends OptionsWithTextFormatting { reduceOptions: ReduceDataOptions; orientation: VizOrientation; } export declare function sharedSingleStatPanelChangedHandler(panel: PanelModel<Partial<SingleStatBaseOptions>> | any, prevPluginId: string, prevOptions: any): any; export declare function sharedSingleStatMigrationHandler(panel: PanelModel<SingleStatBaseOptions>): SingleStatBaseOptions; /** * @deprecated use convertOldAngularValueMappings instead * Convert the angular single stat mapping to new react style */ export declare function convertOldAngularValueMapping(panel: any): ValueMapping[];