import { PanelModel, ReduceDataOptions, Threshold, ValueMapping, VizOrientation } from '@grafana/data'; import { OptionsWithTextFormatting } from '@grafana/schema'; export interface SingleStatBaseOptions extends OptionsWithTextFormatting { reduceOptions: ReduceDataOptions; orientation: VizOrientation; } export declare function sharedSingleStatPanelChangedHandler(panel: PanelModel> | any, prevPluginId: string, prevOptions: any): any; export declare function sharedSingleStatMigrationHandler(panel: PanelModel): SingleStatBaseOptions; export declare function moveThresholdsAndMappingsToField(old: any): any; export declare function migrateFromValueOptions(old: any): any; export declare function migrateOldThresholds(thresholds?: any[]): Threshold[] | undefined; /** * @deprecated use convertOldAngularValueMappings instead * Convert the angular single stat mapping to new react style */ export declare function convertOldAngularValueMapping(panel: any): ValueMapping[];