@grafana/scenes 4.24.2 → 4.24.3--canary.734.9287358327.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import * as _grafana_data from '@grafana/data';
2
- import { BusEventWithPayload, PanelData, BusEvent, BusEventType, BusEventHandler, TimeRange, DataQueryRequest, DataTransformContext, DataFrame, PanelPlugin, EventBus, DataQuery, DataSourceApi, Registry, RegistryItem, ScopedVars, AdHocVariableFilter, SelectableValue, MetricFindValue, VariableRefresh as VariableRefresh$1, VariableSort, EventFilterOptions, AnnotationEvent, AnnotationQuery, DataTransformerConfig, PanelMenuItem, FieldConfigSource, PanelModel, AbsoluteTimeRange, InterpolateFunction, IconName as IconName$1, FieldConfig, FieldType, FieldValueMatcherConfig } from '@grafana/data';
2
+ import { BusEventWithPayload, PanelData, BusEvent, BusEventType, BusEventHandler, TimeRange, DataQueryRequest, DataTransformContext, DataFrame, PanelPlugin, EventBus, DataQuery as DataQuery$1, DataSourceApi, Registry, RegistryItem, ScopedVars, AdHocVariableFilter, SelectableValue, MetricFindValue, VariableRefresh as VariableRefresh$1, VariableSort, EventFilterOptions, AnnotationEvent, AnnotationQuery, DataTransformerConfig, PanelMenuItem, FieldConfigSource, PanelModel, AbsoluteTimeRange, InterpolateFunction, IconName as IconName$1, FieldConfig, FieldType, FieldValueMatcherConfig } from '@grafana/data';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { CSSProperties, ComponentType } from 'react';
5
5
  import * as rxjs from 'rxjs';
6
6
  import { Observable, Unsubscribable, MonoTypeOperatorFunction, Subscription, ReplaySubject } from 'rxjs';
7
7
  import * as _grafana_schema from '@grafana/schema';
8
- import { VariableType, VariableHide, TimeZone, DataTopic, DataSourceRef, DataQuery as DataQuery$1, VariableRefresh, LoadingState, DashboardCursorSync, MatcherConfig, TableFieldOptions } from '@grafana/schema';
8
+ import { VariableType, VariableHide, TimeZone, DataTopic, DataQuery, DataSourceRef, VariableRefresh, LoadingState, DashboardCursorSync, MatcherConfig, TableFieldOptions } from '@grafana/schema';
9
9
  import { VariableInterpolation } from '@grafana/runtime';
10
10
  import { PanelContext, IconName } from '@grafana/ui';
11
11
  import ReactGridLayout from 'react-grid-layout';
@@ -309,6 +309,10 @@ interface UseStateHookOptions {
309
309
  */
310
310
  shouldActivateOrKeepAlive?: boolean;
311
311
  }
312
+ interface SceneDataQuery extends DataQuery {
313
+ [key: string]: any;
314
+ timeRangeCompare?: boolean;
315
+ }
312
316
 
313
317
  /**
314
318
  *
@@ -422,7 +426,7 @@ declare function useSceneObjectState<TState extends SceneObjectState>(model: Sce
422
426
 
423
427
  declare function cloneSceneObjectState<TState extends SceneObjectState>(sceneState: TState, withState?: Partial<TState>): TState;
424
428
 
425
- declare abstract class RuntimeDataSource<TQuery extends DataQuery = DataQuery> extends DataSourceApi<TQuery> {
429
+ declare abstract class RuntimeDataSource<TQuery extends DataQuery$1 = DataQuery$1> extends DataSourceApi<TQuery> {
426
430
  constructor(pluginId: string, uid: string);
427
431
  testDatasource(): Promise<any>;
428
432
  }
@@ -477,143 +481,6 @@ interface MacroVariableConstructor {
477
481
  */
478
482
  declare function registerVariableMacro(name: string, macro: MacroVariableConstructor): () => void;
479
483
 
480
- interface VariableDependencyConfigOptions<TState extends SceneObjectState> {
481
- /**
482
- * State paths to scan / extract variable dependencies from. Leave empty to scan all paths.
483
- */
484
- statePaths?: Array<keyof TState | '*'>;
485
- /**
486
- * Explicit list of variable names to depend on. Leave empty to scan state for dependencies.
487
- */
488
- variableNames?: string[];
489
- /**
490
- * Optional way to customize how to handle when a dependent variable changes
491
- * If not specified the default behavior is to trigger a re-render
492
- */
493
- onReferencedVariableValueChanged?: (variable: SceneVariable) => void;
494
- /**
495
- * Two scenarios trigger this callback to be called.
496
- * 1. When any direct dependency changed value
497
- * 2. In case hasDependencyInLoadingState was called and returned true we really care about any variable update. So in this scenario this callback is called
498
- * after any variable update completes. This is to cover scenarios where an object is waiting for indirect dependencies to complete.
499
- */
500
- onVariableUpdateCompleted?: () => void;
501
- /**
502
- * Optional way to subscribe to all variable value changes, even to variables that are not dependencies.
503
- */
504
- onAnyVariableChanged?: (variable: SceneVariable) => void;
505
- }
506
- declare class VariableDependencyConfig<TState extends SceneObjectState> implements SceneVariableDependencyConfigLike {
507
- private _sceneObject;
508
- private _options;
509
- private _state;
510
- private _dependencies;
511
- private _statePaths?;
512
- private _isWaitingForVariables;
513
- scanCount: number;
514
- constructor(_sceneObject: SceneObject<TState>, _options: VariableDependencyConfigOptions<TState>);
515
- /**
516
- * Used to check for dependency on a specific variable
517
- */
518
- hasDependencyOn(name: string): boolean;
519
- /**
520
- * This is called whenever any set of variables have new values. It is up to this implementation to check if it's relevant given the current dependencies.
521
- */
522
- variableUpdateCompleted(variable: SceneVariable, hasChanged: boolean): void;
523
- hasDependencyInLoadingState(): boolean;
524
- getNames(): Set<string>;
525
- /**
526
- * Update variableNames
527
- */
528
- setVariableNames(varNames: string[]): void;
529
- setPaths(paths: Array<keyof TState | '*'>): void;
530
- private scanStateForDependencies;
531
- private extractVariablesFrom;
532
- }
533
-
534
- interface QueryRunnerState extends SceneObjectState {
535
- data?: PanelData;
536
- queries: DataQueryExtended[];
537
- datasource?: DataSourceRef;
538
- minInterval?: string;
539
- maxDataPoints?: number;
540
- liveStreaming?: boolean;
541
- maxDataPointsFromWidth?: boolean;
542
- cacheTimeout?: DataQueryRequest['cacheTimeout'];
543
- queryCachingTTL?: DataQueryRequest['queryCachingTTL'];
544
- dataLayerFilter?: DataLayerFilter;
545
- _hasFetchedData?: boolean;
546
- }
547
- interface DataQueryExtended extends DataQuery$1 {
548
- [key: string]: any;
549
- timeRangeCompare?: boolean;
550
- }
551
- declare class SceneQueryRunner extends SceneObjectBase<QueryRunnerState> implements SceneDataProvider {
552
- private _querySub?;
553
- private _dataLayersSub?;
554
- private _dataLayersMerger;
555
- private _timeSub?;
556
- private _timeSubRange?;
557
- private _containerWidth?;
558
- private _variableValueRecorder;
559
- private _results;
560
- private _scopedVars;
561
- private _layerAnnotations?;
562
- private _resultAnnotations?;
563
- private _adhocFiltersVar?;
564
- private _groupByVar?;
565
- getResultsStream(): ReplaySubject<SceneDataProviderResult>;
566
- protected _variableDependency: VariableDependencyConfig<QueryRunnerState>;
567
- constructor(initialState: QueryRunnerState);
568
- private _onActivate;
569
- private _handleDataLayers;
570
- private _onLayersReceived;
571
- /**
572
- * This tries to start a new query whenever a variable completes or is changed.
573
- *
574
- * We care about variable update completions even when the variable has not changed and even when it is not a direct dependency.
575
- * Example: Variables A and B (B depends on A). A update depends on time range. So when time change query runner will
576
- * find that variable A is loading which is a dependency on of variable B so will set _isWaitingForVariables to true and
577
- * not issue any query.
578
- *
579
- * When A completes it's loading (with no value change, so B never updates) it will cause a call of this function letting
580
- * the query runner know that A has completed, and in case _isWaitingForVariables we try to run the query. The query will
581
- * only run if all variables are in a non loading state so in other scenarios where a query depends on many variables this will
582
- * be called many times until all dependencies are in a non loading state. *
583
- */
584
- private onVariableUpdatesCompleted;
585
- /**
586
- * Check if value changed is a adhoc filter o group by variable that did not exist when we issued the last query
587
- */
588
- private onAnyVariableChanged;
589
- private _isRelevantAutoVariable;
590
- private shouldRunQueriesOnActivate;
591
- private _isDataTimeRangeStale;
592
- private _onDeactivate;
593
- setContainerWidth(width: number): void;
594
- isDataReadyToDisplay(): boolean;
595
- private subscribeToTimeRangeChanges;
596
- runQueries(): void;
597
- private getMaxDataPoints;
598
- cancelQuery(): void;
599
- private runWithTimeRange;
600
- clone(withState?: Partial<QueryRunnerState>): this;
601
- private prepareRequests;
602
- private onDataReceived;
603
- private _combineDataLayers;
604
- private _setNoDataState;
605
- /**
606
- * Will walk up the scene graph and find the closest time range compare object
607
- * It performs buttom-up search, including shallow search across object children for supporting controls/header actions
608
- */
609
- private getTimeCompare;
610
- /**
611
- * Walk up scene graph and find the closest filterset with matching data source
612
- */
613
- private findAndSubscribeToAdHocFilters;
614
- private _updateExplicitVariableDependencies;
615
- }
616
-
617
484
  declare function renderPrometheusLabelFilters(filters: AdHocVariableFilter[]): string;
618
485
 
619
486
  declare class AdHocFiltersVariableUrlSyncHandler implements SceneObjectUrlSyncHandler {
@@ -733,6 +600,60 @@ declare class ConstantVariable extends SceneObjectBase<ConstantVariableState> im
733
600
  getValue(): VariableValue;
734
601
  }
735
602
 
603
+ interface VariableDependencyConfigOptions<TState extends SceneObjectState> {
604
+ /**
605
+ * State paths to scan / extract variable dependencies from. Leave empty to scan all paths.
606
+ */
607
+ statePaths?: Array<keyof TState | '*'>;
608
+ /**
609
+ * Explicit list of variable names to depend on. Leave empty to scan state for dependencies.
610
+ */
611
+ variableNames?: string[];
612
+ /**
613
+ * Optional way to customize how to handle when a dependent variable changes
614
+ * If not specified the default behavior is to trigger a re-render
615
+ */
616
+ onReferencedVariableValueChanged?: (variable: SceneVariable) => void;
617
+ /**
618
+ * Two scenarios trigger this callback to be called.
619
+ * 1. When any direct dependency changed value
620
+ * 2. In case hasDependencyInLoadingState was called and returned true we really care about any variable update. So in this scenario this callback is called
621
+ * after any variable update completes. This is to cover scenarios where an object is waiting for indirect dependencies to complete.
622
+ */
623
+ onVariableUpdateCompleted?: () => void;
624
+ /**
625
+ * Optional way to subscribe to all variable value changes, even to variables that are not dependencies.
626
+ */
627
+ onAnyVariableChanged?: (variable: SceneVariable) => void;
628
+ }
629
+ declare class VariableDependencyConfig<TState extends SceneObjectState> implements SceneVariableDependencyConfigLike {
630
+ private _sceneObject;
631
+ private _options;
632
+ private _state;
633
+ private _dependencies;
634
+ private _statePaths?;
635
+ private _isWaitingForVariables;
636
+ scanCount: number;
637
+ constructor(_sceneObject: SceneObject<TState>, _options: VariableDependencyConfigOptions<TState>);
638
+ /**
639
+ * Used to check for dependency on a specific variable
640
+ */
641
+ hasDependencyOn(name: string): boolean;
642
+ /**
643
+ * This is called whenever any set of variables have new values. It is up to this implementation to check if it's relevant given the current dependencies.
644
+ */
645
+ variableUpdateCompleted(variable: SceneVariable, hasChanged: boolean): void;
646
+ hasDependencyInLoadingState(): boolean;
647
+ getNames(): Set<string>;
648
+ /**
649
+ * Update variableNames
650
+ */
651
+ setVariableNames(varNames: string[]): void;
652
+ setPaths(paths: Array<keyof TState | '*'>): void;
653
+ private scanStateForDependencies;
654
+ private extractVariablesFrom;
655
+ }
656
+
736
657
  interface MultiValueVariableState extends SceneVariableState {
737
658
  value: VariableValue;
738
659
  text: VariableValue;
@@ -872,7 +793,7 @@ declare class TextBoxVariable extends SceneObjectBase<TextBoxVariableState> impl
872
793
  interface QueryVariableState extends MultiValueVariableState {
873
794
  type: 'query';
874
795
  datasource: DataSourceRef | null;
875
- query: string | DataQueryExtended;
796
+ query: string | SceneDataQuery;
876
797
  regex: string;
877
798
  refresh: VariableRefresh$1;
878
799
  sort: VariableSort;
@@ -1299,6 +1220,85 @@ declare class SceneTimeZoneOverride extends SceneTimeRangeTransformerBase<SceneT
1299
1220
  onTimeZoneChange(timeZone: string): void;
1300
1221
  }
1301
1222
 
1223
+ interface QueryRunnerState extends SceneObjectState {
1224
+ data?: PanelData;
1225
+ queries: SceneDataQuery[];
1226
+ datasource?: DataSourceRef;
1227
+ minInterval?: string;
1228
+ maxDataPoints?: number;
1229
+ liveStreaming?: boolean;
1230
+ maxDataPointsFromWidth?: boolean;
1231
+ cacheTimeout?: DataQueryRequest['cacheTimeout'];
1232
+ queryCachingTTL?: DataQueryRequest['queryCachingTTL'];
1233
+ dataLayerFilter?: DataLayerFilter;
1234
+ _hasFetchedData?: boolean;
1235
+ }
1236
+ declare class SceneQueryRunner extends SceneObjectBase<QueryRunnerState> implements SceneDataProvider {
1237
+ private _querySub?;
1238
+ private _dataLayersSub?;
1239
+ private _dataLayersMerger;
1240
+ private _timeSub?;
1241
+ private _timeSubRange?;
1242
+ private _containerWidth?;
1243
+ private _variableValueRecorder;
1244
+ private _results;
1245
+ private _scopedVars;
1246
+ private _layerAnnotations?;
1247
+ private _resultAnnotations?;
1248
+ private _adhocFiltersVar?;
1249
+ private _groupByVar?;
1250
+ getResultsStream(): ReplaySubject<SceneDataProviderResult>;
1251
+ protected _variableDependency: VariableDependencyConfig<QueryRunnerState>;
1252
+ constructor(initialState: QueryRunnerState);
1253
+ private _onActivate;
1254
+ private _handleDataLayers;
1255
+ private _onLayersReceived;
1256
+ /**
1257
+ * This tries to start a new query whenever a variable completes or is changed.
1258
+ *
1259
+ * We care about variable update completions even when the variable has not changed and even when it is not a direct dependency.
1260
+ * Example: Variables A and B (B depends on A). A update depends on time range. So when time change query runner will
1261
+ * find that variable A is loading which is a dependency on of variable B so will set _isWaitingForVariables to true and
1262
+ * not issue any query.
1263
+ *
1264
+ * When A completes it's loading (with no value change, so B never updates) it will cause a call of this function letting
1265
+ * the query runner know that A has completed, and in case _isWaitingForVariables we try to run the query. The query will
1266
+ * only run if all variables are in a non loading state so in other scenarios where a query depends on many variables this will
1267
+ * be called many times until all dependencies are in a non loading state. *
1268
+ */
1269
+ private onVariableUpdatesCompleted;
1270
+ /**
1271
+ * Check if value changed is a adhoc filter o group by variable that did not exist when we issued the last query
1272
+ */
1273
+ private onAnyVariableChanged;
1274
+ private _isRelevantAutoVariable;
1275
+ private shouldRunQueriesOnActivate;
1276
+ private _isDataTimeRangeStale;
1277
+ private _onDeactivate;
1278
+ setContainerWidth(width: number): void;
1279
+ isDataReadyToDisplay(): boolean;
1280
+ private subscribeToTimeRangeChanges;
1281
+ runQueries(): void;
1282
+ private getMaxDataPoints;
1283
+ cancelQuery(): void;
1284
+ private runWithTimeRange;
1285
+ clone(withState?: Partial<QueryRunnerState>): this;
1286
+ private prepareRequests;
1287
+ private onDataReceived;
1288
+ private _combineDataLayers;
1289
+ private _setNoDataState;
1290
+ /**
1291
+ * Will walk up the scene graph and find the closest time range compare object
1292
+ * It performs buttom-up search, including shallow search across object children for supporting controls/header actions
1293
+ */
1294
+ private getTimeCompare;
1295
+ /**
1296
+ * Walk up scene graph and find the closest filterset with matching data source
1297
+ */
1298
+ private findAndSubscribeToAdHocFilters;
1299
+ private _updateExplicitVariableDependencies;
1300
+ }
1301
+
1302
1302
  declare abstract class SceneDataLayerSetBase<T extends SceneDataLayerProviderState> extends SceneObjectBase<T> implements SceneDataLayerProvider {
1303
1303
  /** Mark it as a data layer */
1304
1304
  isDataLayer: true;
@@ -1384,6 +1384,13 @@ declare class VariableValueSelectors extends SceneObjectBase<VariableValueSelect
1384
1384
  static Component: typeof VariableValueSelectorsRenderer;
1385
1385
  }
1386
1386
  declare function VariableValueSelectorsRenderer({ model }: SceneComponentProps<VariableValueSelectors>): React__default.JSX.Element;
1387
+ interface VariableSelectProps {
1388
+ layout?: ControlsLayout;
1389
+ variable: SceneVariable;
1390
+ /** To override hide from VariableValueSelectByName */
1391
+ showAlways?: boolean;
1392
+ }
1393
+ declare function VariableValueSelectWrapper({ variable, layout, showAlways }: VariableSelectProps): React__default.JSX.Element | null;
1387
1394
 
1388
1395
  interface VariableValueControlState extends SceneObjectState {
1389
1396
  layout?: ControlsLayout;
@@ -1524,6 +1531,7 @@ interface UrlSyncManagerLike {
1524
1531
  initSync(root: SceneObject): void;
1525
1532
  cleanUp(root: SceneObject): void;
1526
1533
  getUrlState(root: SceneObject): SceneObjectUrlValues;
1534
+ syncNewObj(obj: SceneObject): void;
1527
1535
  }
1528
1536
  declare class UrlSyncManager implements UrlSyncManagerLike {
1529
1537
  private _urlKeyMapper;
@@ -1532,6 +1540,7 @@ declare class UrlSyncManager implements UrlSyncManagerLike {
1532
1540
  private _locationSub?;
1533
1541
  private _lastPath?;
1534
1542
  private _ignoreNextLocationUpdate;
1543
+ private _urlParams;
1535
1544
  /**
1536
1545
  * Updates the current scene state to match URL state.
1537
1546
  */
@@ -1540,6 +1549,7 @@ declare class UrlSyncManager implements UrlSyncManagerLike {
1540
1549
  syncFrom(sceneObj: SceneObject): void;
1541
1550
  private _onLocationUpdate;
1542
1551
  private _onStateChanged;
1552
+ syncNewObj(obj: SceneObject): void;
1543
1553
  getUrlState(root: SceneObject): SceneObjectUrlValues;
1544
1554
  }
1545
1555
  declare function getUrlSyncManager(): UrlSyncManagerLike;
@@ -1651,6 +1661,7 @@ declare class VizPanel<TOptions = {}, TFieldConfig extends {} = {}> extends Scen
1651
1661
  onFieldConfigChange: (fieldConfigUpdate: FieldConfigSource<DeepPartial<TFieldConfig>>, replace?: boolean) => void;
1652
1662
  interpolate: InterpolateFunction;
1653
1663
  getDescription: () => string;
1664
+ clearFieldConfigCache(): void;
1654
1665
  /**
1655
1666
  * Called from the react render path to apply the field config to the data provided by the data provider
1656
1667
  */
@@ -2179,6 +2190,12 @@ type StandardFieldConfigInterface<T, C, Prefix extends string> = {
2179
2190
  [K in Exclude<keyof T, keyof any[]> as `${Prefix}${Capitalize<string & K>}`]: (value: T[K]) => C;
2180
2191
  };
2181
2192
  type StandardFieldConfig = Pick<FieldConfig, 'color' | 'decimals' | 'displayName' | 'filterable' | 'links' | 'mappings' | 'max' | 'min' | 'noValue' | 'thresholds' | 'unit'>;
2193
+ interface VizConfig<TOptions = {}, TFieldConfig = {}> {
2194
+ pluginId: string;
2195
+ pluginVersion: string;
2196
+ options: DeepPartial<TOptions>;
2197
+ fieldConfig: FieldConfigSource<DeepPartial<TFieldConfig>>;
2198
+ }
2182
2199
 
2183
2200
  declare class StandardFieldConfigOverridesBuilder<T extends StandardFieldConfigOverridesBuilder<T>> implements StandardFieldConfigInterface<StandardFieldConfig, T, 'override'> {
2184
2201
  protected _overrides: Array<{
@@ -2487,6 +2504,92 @@ interface Props {
2487
2504
  */
2488
2505
  declare function SceneDebugger({ scene }: Props): React__default.JSX.Element;
2489
2506
 
2507
+ declare class VizConfigBuilder<TOptions extends {}, TFieldConfig extends {}> implements StandardFieldConfigInterface<StandardFieldConfig, VizConfigBuilder<TOptions, TFieldConfig>, 'set'> {
2508
+ private _fieldConfigBuilder;
2509
+ private _panelOptionsBuilder;
2510
+ private _pluginId;
2511
+ private _pluginVersion;
2512
+ constructor(pluginId: string, pluginVersion: string, defaultOptions?: () => Partial<TOptions>, defaultFieldConfig?: () => TFieldConfig);
2513
+ /**
2514
+ * Set color.
2515
+ */
2516
+ setColor(color: StandardFieldConfig['color']): this;
2517
+ /**
2518
+ * Set number of decimals to show.
2519
+ */
2520
+ setDecimals(decimals: StandardFieldConfig['decimals']): this;
2521
+ /**
2522
+ * Set field display name.
2523
+ */
2524
+ setDisplayName(displayName: StandardFieldConfig['displayName']): this;
2525
+ /**
2526
+ * Set the standard field config property filterable.
2527
+ */
2528
+ setFilterable(filterable: StandardFieldConfig['filterable']): this;
2529
+ /**
2530
+ * Set data links.
2531
+ */
2532
+ setLinks(links: StandardFieldConfig['links']): this;
2533
+ /**
2534
+ * Set value mappings.
2535
+ */
2536
+ setMappings(mappings: StandardFieldConfig['mappings']): this;
2537
+ /**
2538
+ * Set the standard field config property max.
2539
+ */
2540
+ setMax(max: StandardFieldConfig['max']): this;
2541
+ /**
2542
+ * Set the standard field config property min.
2543
+ */
2544
+ setMin(min: StandardFieldConfig['min']): this;
2545
+ /**
2546
+ * Set the standard field config property noValue.
2547
+ */
2548
+ setNoValue(noValue: StandardFieldConfig['noValue']): this;
2549
+ /**
2550
+ * Set the standard field config property thresholds.
2551
+ */
2552
+ setThresholds(thresholds: StandardFieldConfig['thresholds']): this;
2553
+ /**
2554
+ * Set the standard field config property unit.
2555
+ */
2556
+ setUnit(unit: StandardFieldConfig['unit']): this;
2557
+ setCustomFieldConfig<T extends TFieldConfig, K extends keyof T>(id: K, value: DeepPartial<T[K]>): this;
2558
+ setOverrides(builder: (b: FieldConfigOverridesBuilder<TFieldConfig>) => void): this;
2559
+ /**
2560
+ * Set an individual panel option. This will merge the value with the existing options.
2561
+ */
2562
+ setOption<T extends TOptions, K extends keyof T>(id: K, value: DeepPartial<T[K]>): this;
2563
+ /**
2564
+ * Build the panel.
2565
+ */
2566
+ build(): VizConfig<TOptions, TFieldConfig>;
2567
+ }
2568
+
2569
+ declare const VizConfigBuilders: {
2570
+ barchart(): VizConfigBuilder<Options, FieldConfig$1>;
2571
+ bargauge(): VizConfigBuilder<Options$1, {}>;
2572
+ datagrid(): VizConfigBuilder<Options$2, {}>;
2573
+ flamegraph(): VizConfigBuilder<{}, {}>;
2574
+ gauge(): VizConfigBuilder<Options$3, {}>;
2575
+ geomap(): VizConfigBuilder<Options$4, {}>;
2576
+ heatmap(): VizConfigBuilder<Options$5, FieldConfig$2>;
2577
+ histogram(): VizConfigBuilder<Options$6, FieldConfig$3>;
2578
+ logs(): VizConfigBuilder<Options$7, {}>;
2579
+ news(): VizConfigBuilder<Options$8, {}>;
2580
+ nodegraph(): VizConfigBuilder<Options$9, {}>;
2581
+ piechart(): VizConfigBuilder<Options$a, FieldConfig$4>;
2582
+ stat(): VizConfigBuilder<Options$b, {}>;
2583
+ statetimeline(): VizConfigBuilder<Options$c, FieldConfig$5>;
2584
+ statushistory(): VizConfigBuilder<Options$d, FieldConfig$6>;
2585
+ table(): VizConfigBuilder<Options$e, TableFieldOptions>;
2586
+ text(): VizConfigBuilder<Options$f, {}>;
2587
+ timeseries(): VizConfigBuilder<Options$g, FieldConfig$7>;
2588
+ trend(): VizConfigBuilder<{}, {}>;
2589
+ traces(): VizConfigBuilder<Options$h, FieldConfig$8>;
2590
+ xychart(): VizConfigBuilder<Options$i, {}>;
2591
+ };
2592
+
2490
2593
  declare const sceneUtils: {
2491
2594
  getUrlWithAppState: typeof getUrlWithAppState;
2492
2595
  registerRuntimePanelPlugin: typeof registerRuntimePanelPlugin;
@@ -2506,4 +2609,4 @@ declare const sceneUtils: {
2506
2609
  isGroupByVariable: typeof isGroupByVariable;
2507
2610
  };
2508
2611
 
2509
- export { AdHocFiltersVariable, CancelActivationHandler, ConstantVariable, ControlsLayout, CustomFormatterVariable, CustomTransformOperator, CustomTransformerDefinition, CustomVariable, CustomVariableValue, DataLayerFilter, DataRequestEnricher, DataSourceVariable, DeepPartial, EmbeddedScene, EmbeddedSceneState, FieldConfigBuilders, FieldConfigOverridesBuilder, FormatVariable, GroupByVariable, InterpolationFormatParameter, IntervalVariable, LocalValueVariable, MacroVariableConstructor, MultiValueVariable, NestedScene, PanelBuilders, PanelOptionsBuilders, QueryRunnerState, QueryVariable, RuntimeDataSource, SceneActivationHandler, SceneApp, SceneAppDrilldownView, SceneAppPage, SceneAppPageLike, SceneAppPageState, SceneAppRoute, SceneByFrameRepeater, SceneByVariableRepeater, SceneCSSGridItem, SceneCSSGridLayout, SceneCanvasText, SceneComponent, SceneComponentProps, SceneControlsSpacer, SceneDataLayerBase, SceneDataLayerControls, SceneDataLayerProvider, SceneDataLayerProviderState, SceneDataLayerSet, SceneDataLayerSetBase, SceneDataNode, SceneDataProvider, SceneDataProviderResult, SceneDataState, SceneDataTransformer, SceneDeactivationHandler, SceneDebugger, SceneFlexItem, SceneFlexItemLike, SceneFlexItemState, SceneFlexLayout, SceneGridItem, SceneGridItemLike, SceneGridItemStateLike, SceneGridLayout, SceneGridRow, SceneLayout, SceneLayoutChildOptions, SceneLayoutState, SceneObject, SceneObjectBase, SceneObjectRef, SceneObjectState, SceneObjectStateChangedEvent, SceneObjectStateChangedPayload, SceneObjectUrlSyncConfig, SceneObjectUrlSyncHandler, SceneObjectUrlValue, SceneObjectUrlValues, SceneObjectWithUrlSync, SceneQueryControllerEntry, SceneQueryControllerEntryType, SceneQueryControllerLike, SceneQueryRunner, SceneReactObject, SceneRefreshPicker, SceneRouteMatch, SceneStateChangedHandler, SceneStatelessBehavior, SceneTimePicker, SceneTimeRange, SceneTimeRangeCompare, SceneTimeRangeLike, SceneTimeRangeState, SceneTimeRangeTransformerBase, SceneTimeZoneOverride, SceneToolbarButton, SceneToolbarInput, SceneVariable, SceneVariableDependencyConfigLike, SceneVariableSet, SceneVariableSetState, SceneVariableState, SceneVariableValueChangedEvent, SceneVariables, SplitLayout, TestVariable, TextBoxVariable, UrlSyncManager, UrlSyncManagerLike, UseStateHookOptions, UserActionEvent, ValidateAndUpdateResult, VariableCustomFormatterFn, VariableDependencyConfig, VariableValue, VariableValueControl, VariableValueOption, VariableValueSelectors, VariableValueSingle, VizPanel, VizPanelBuilder, VizPanelMenu, VizPanelState, index$1 as behaviors, index as dataLayers, formatRegistry, getUrlSyncManager, isCustomVariableValue, isDataLayer, isDataRequestEnricher, isSceneObject, registerQueryWithController, registerRuntimeDataSource, sceneGraph, sceneUtils, useSceneApp, useSceneObjectState };
2612
+ export { AdHocFiltersVariable, CancelActivationHandler, ConstantVariable, ControlsLayout, CustomFormatterVariable, CustomTransformOperator, CustomTransformerDefinition, CustomVariable, CustomVariableValue, DataLayerFilter, DataRequestEnricher, DataSourceVariable, DeepPartial, EmbeddedScene, EmbeddedSceneState, FieldConfigBuilder, FieldConfigBuilders, FieldConfigOverridesBuilder, FormatVariable, GroupByVariable, InterpolationFormatParameter, IntervalVariable, LocalValueVariable, MacroVariableConstructor, MultiValueVariable, NestedScene, PanelBuilders, PanelOptionsBuilders, QueryRunnerState, QueryVariable, RuntimeDataSource, SceneActivationHandler, SceneApp, SceneAppDrilldownView, SceneAppPage, SceneAppPageLike, SceneAppPageState, SceneAppRoute, SceneByFrameRepeater, SceneByVariableRepeater, SceneCSSGridItem, SceneCSSGridLayout, SceneCanvasText, SceneComponent, SceneComponentProps, SceneControlsSpacer, SceneDataLayerBase, SceneDataLayerControls, SceneDataLayerProvider, SceneDataLayerProviderState, SceneDataLayerSet, SceneDataLayerSetBase, SceneDataNode, SceneDataProvider, SceneDataProviderResult, SceneDataQuery, SceneDataState, SceneDataTransformer, SceneDeactivationHandler, SceneDebugger, SceneFlexItem, SceneFlexItemLike, SceneFlexItemState, SceneFlexLayout, SceneGridItem, SceneGridItemLike, SceneGridItemStateLike, SceneGridLayout, SceneGridRow, SceneLayout, SceneLayoutChildOptions, SceneLayoutState, SceneObject, SceneObjectBase, SceneObjectRef, SceneObjectState, SceneObjectStateChangedEvent, SceneObjectStateChangedPayload, SceneObjectUrlSyncConfig, SceneObjectUrlSyncHandler, SceneObjectUrlValue, SceneObjectUrlValues, SceneObjectWithUrlSync, SceneQueryControllerEntry, SceneQueryControllerEntryType, SceneQueryControllerLike, SceneQueryRunner, SceneReactObject, SceneRefreshPicker, SceneRefreshPickerState, SceneRouteMatch, SceneStateChangedHandler, SceneStatelessBehavior, SceneTimePicker, SceneTimeRange, SceneTimeRangeCompare, SceneTimeRangeLike, SceneTimeRangeState, SceneTimeRangeTransformerBase, SceneTimeZoneOverride, SceneToolbarButton, SceneToolbarInput, SceneVariable, SceneVariableDependencyConfigLike, SceneVariableSet, SceneVariableSetState, SceneVariableState, SceneVariableValueChangedEvent, SceneVariables, SplitLayout, TestVariable, TextBoxVariable, UrlSyncManager, UrlSyncManagerLike, UseStateHookOptions, UserActionEvent, ValidateAndUpdateResult, VariableCustomFormatterFn, VariableDependencyConfig, VariableValue, VariableValueControl, VariableValueOption, VariableValueSelectWrapper, VariableValueSelectors, VariableValueSingle, VizConfig, VizConfigBuilder, VizConfigBuilders, VizPanel, VizPanelBuilder, VizPanelMenu, VizPanelState, index$1 as behaviors, index as dataLayers, formatRegistry, getUrlSyncManager, isCustomVariableValue, isDataLayer, isDataRequestEnricher, isSceneObject, registerQueryWithController, registerRuntimeDataSource, sceneGraph, sceneUtils, useSceneApp, useSceneObjectState };