@grafana/plugin-ui 0.14.1-dsconfig.ced809d → 0.14.1-dsconfig.f952c80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/dist/cjs/index.cjs +298 -991
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/cjs/index.d.cts +212 -201
  4. package/dist/cjs/schemas.cjs +20 -14848
  5. package/dist/cjs/schemas.cjs.map +1 -1
  6. package/dist/cjs/schemas.d.cts +76 -1
  7. package/dist/cjs/useDatasourceSchema-BWcU0Gkw.js +16623 -0
  8. package/dist/cjs/useDatasourceSchema-BWcU0Gkw.js.map +1 -0
  9. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceConfigWizard.js +3 -3
  10. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceConfigWizard.js.map +1 -1
  11. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SchemaField.js +2 -2
  12. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SchemaField.js.map +1 -1
  13. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SidebarNav.js +1 -1
  14. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SidebarNav.js.map +1 -1
  15. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/TabLayout.js +2 -2
  16. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/TabLayout.js.map +1 -1
  17. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/cel.js +75 -0
  18. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/cel.js.map +1 -0
  19. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/config.js.map +1 -0
  20. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/datasource.js.map +1 -0
  21. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/fieldUtils.js +3 -3
  22. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/fieldUtils.js.map +1 -1
  23. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/hooks/useDatasourceConfigForm.js +3 -3
  24. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/hooks/useDatasourceConfigForm.js.map +1 -1
  25. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/AuthorizationHeaderField.js +1 -1
  26. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/AuthorizationHeaderField.js.map +1 -1
  27. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/FileUploadField.js.map +1 -1
  28. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/IndexedPairEditor.js +1 -1
  29. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/IndexedPairEditor.js.map +1 -1
  30. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/ObjectArrayEditor.js +1 -1
  31. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/ObjectArrayEditor.js.map +1 -1
  32. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/SecureFieldInput.js +1 -1
  33. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/SecureFieldInput.js.map +1 -1
  34. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/renderFieldInput.js.map +1 -1
  35. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/{tabStyles.js → styles.js} +121 -2
  36. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/styles.js.map +1 -0
  37. package/dist/esm/index.d.ts +212 -201
  38. package/dist/esm/index.js +7 -5
  39. package/dist/esm/index.js.map +1 -1
  40. package/dist/esm/{datasource/schema/datasources → schema/registry}/alertmanager.schema.json.js +15 -15
  41. package/dist/esm/{datasource/schema/datasources → schema/registry}/cloudwatch.schema.json.js +17 -17
  42. package/dist/esm/schema/registry/elasticsearch.schema.json.js +597 -0
  43. package/dist/esm/schema/registry/elasticsearch.schema.json.js.map +1 -0
  44. package/dist/esm/schema/registry/grafana-adobeanalytics-datasource.schema.json.js +95 -0
  45. package/dist/esm/schema/registry/grafana-adobeanalytics-datasource.schema.json.js.map +1 -0
  46. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-amazonprometheus-datasource.schema.json.js +13 -13
  47. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-athena-datasource.schema.json.js +3 -3
  48. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-azure-data-explorer-datasource.schema.json.js +3 -3
  49. package/dist/esm/schema/registry/grafana-azure-monitor-datasource.schema.json.js +300 -0
  50. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-azure-monitor-datasource.schema.json.js.map +1 -1
  51. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-bigquery-datasource.schema.json.js +3 -3
  52. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-clickhouse-datasource.schema.json.js +5 -5
  53. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-falconlogscale-datasource.schema.json.js +3 -3
  54. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-googlesheets-datasource.schema.json.js +3 -3
  55. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-iot-sitewise-datasource.schema.json.js +3 -3
  56. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-mqtt-datasource.schema.json.js +5 -5
  57. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-opensearch-datasource.schema.json.js +3 -3
  58. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-postgresql-datasource.schema.json.js +5 -5
  59. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-pyroscope-datasource.schema.json.js +3 -3
  60. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-redshift-datasource.schema.json.js +3 -3
  61. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-salesforce-datasource.schema.json.js +119 -72
  62. package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-salesforce-datasource.schema.json.js.map +1 -1
  63. package/dist/esm/schema/registry/grafana-splunk-datasource.schema.json.js +690 -0
  64. package/dist/esm/schema/registry/grafana-splunk-datasource.schema.json.js.map +1 -0
  65. package/dist/esm/schema/registry/index.js +139 -0
  66. package/dist/esm/schema/registry/index.js.map +1 -0
  67. package/dist/esm/schema/utils/dsconfig.js +97 -0
  68. package/dist/esm/schema/utils/dsconfig.js.map +1 -0
  69. package/dist/esm/{datasource/schema/llmHints.js → schema/utils/llm.js} +1 -1
  70. package/dist/esm/schema/utils/llm.js.map +1 -0
  71. package/dist/esm/{datasource/schema/provisioningYaml.js → schema/utils/provisioning.js} +79 -3
  72. package/dist/esm/schema/utils/provisioning.js.map +1 -0
  73. package/dist/esm/schema/utils/useDatasourceSchema.js +16 -0
  74. package/dist/esm/schema/utils/useDatasourceSchema.js.map +1 -0
  75. package/dist/esm/schemas.d.ts +76 -1
  76. package/dist/esm/schemas.js +5 -1
  77. package/dist/esm/schemas.js.map +1 -1
  78. package/package.json +1 -1
  79. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/tabStyles.js.map +0 -1
  80. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/wizardStyles.js +0 -124
  81. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/wizardStyles.js.map +0 -1
  82. package/dist/esm/datasource/schema/cel.js +0 -42
  83. package/dist/esm/datasource/schema/cel.js.map +0 -1
  84. package/dist/esm/datasource/schema/config.js.map +0 -1
  85. package/dist/esm/datasource/schema/datasource.js.map +0 -1
  86. package/dist/esm/datasource/schema/datasources/elasticsearch.schema.json.js +0 -287
  87. package/dist/esm/datasource/schema/datasources/elasticsearch.schema.json.js.map +0 -1
  88. package/dist/esm/datasource/schema/datasources/grafana-azure-monitor-datasource.schema.json.js +0 -294
  89. package/dist/esm/datasource/schema/datasources/grafana-splunk-datasource.schema.json.js +0 -319
  90. package/dist/esm/datasource/schema/datasources/grafana-splunk-datasource.schema.json.js.map +0 -1
  91. package/dist/esm/datasource/schema/llmHints.js.map +0 -1
  92. package/dist/esm/datasource/schema/provisioningYaml.js.map +0 -1
  93. package/dist/esm/datasource/schema/schemaRegistry.js +0 -139
  94. package/dist/esm/datasource/schema/schemaRegistry.js.map +0 -1
  95. /package/dist/esm/{datasource/schema → components/ConfigEditor/DatasourceConfigWizard}/config.js +0 -0
  96. /package/dist/esm/{datasource/schema → components/ConfigEditor/DatasourceConfigWizard}/datasource.js +0 -0
  97. /package/dist/esm/{datasource/schema/datasources → schema/registry}/alertmanager.schema.json.js.map +0 -0
  98. /package/dist/esm/{datasource/schema/datasources → schema/registry}/cloudwatch.schema.json.js.map +0 -0
  99. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-amazonprometheus-datasource.schema.json.js.map +0 -0
  100. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-appdynamics-datasource.schema.json.js +0 -0
  101. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-appdynamics-datasource.schema.json.js.map +0 -0
  102. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-astradb-datasource.schema.json.js +0 -0
  103. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-astradb-datasource.schema.json.js.map +0 -0
  104. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-athena-datasource.schema.json.js.map +0 -0
  105. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-azure-data-explorer-datasource.schema.json.js.map +0 -0
  106. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-azuredevops-datasource.schema.json.js +0 -0
  107. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-azuredevops-datasource.schema.json.js.map +0 -0
  108. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-azureprometheus-datasource.schema.json.js +0 -0
  109. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-azureprometheus-datasource.schema.json.js.map +0 -0
  110. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-bigquery-datasource.schema.json.js.map +0 -0
  111. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-clickhouse-datasource.schema.json.js.map +0 -0
  112. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-cockroachdb-datasource.schema.json.js +0 -0
  113. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-cockroachdb-datasource.schema.json.js.map +0 -0
  114. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-databricks-datasource.schema.json.js +0 -0
  115. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-databricks-datasource.schema.json.js.map +0 -0
  116. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-datadog-datasource.schema.json.js +0 -0
  117. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-datadog-datasource.schema.json.js.map +0 -0
  118. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-dynatrace-datasource.schema.json.js +0 -0
  119. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-dynatrace-datasource.schema.json.js.map +0 -0
  120. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-falconlogscale-datasource.schema.json.js.map +0 -0
  121. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-github-datasource.schema.json.js +0 -0
  122. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-github-datasource.schema.json.js.map +0 -0
  123. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-gitlab-datasource.schema.json.js +0 -0
  124. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-gitlab-datasource.schema.json.js.map +0 -0
  125. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-googlesheets-datasource.schema.json.js.map +0 -0
  126. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-honeycomb-datasource.schema.json.js +0 -0
  127. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-honeycomb-datasource.schema.json.js.map +0 -0
  128. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-iot-sitewise-datasource.schema.json.js.map +0 -0
  129. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-jira-datasource.schema.json.js +0 -0
  130. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-jira-datasource.schema.json.js.map +0 -0
  131. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-looker-datasource.schema.json.js +0 -0
  132. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-looker-datasource.schema.json.js.map +0 -0
  133. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-mongodb-datasource.schema.json.js +0 -0
  134. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-mongodb-datasource.schema.json.js.map +0 -0
  135. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-mqtt-datasource.schema.json.js.map +0 -0
  136. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-newrelic-datasource.schema.json.js +0 -0
  137. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-newrelic-datasource.schema.json.js.map +0 -0
  138. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-odbc-datasource.schema.json.js +0 -0
  139. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-odbc-datasource.schema.json.js.map +0 -0
  140. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-opensearch-datasource.schema.json.js.map +0 -0
  141. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-oracle-datasource.schema.json.js +0 -0
  142. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-oracle-datasource.schema.json.js.map +0 -0
  143. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-pagerduty-datasource.schema.json.js +0 -0
  144. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-pagerduty-datasource.schema.json.js.map +0 -0
  145. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-postgresql-datasource.schema.json.js.map +0 -0
  146. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-pyroscope-datasource.schema.json.js.map +0 -0
  147. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-redshift-datasource.schema.json.js.map +0 -0
  148. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-saphana-datasource.schema.json.js +0 -0
  149. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-saphana-datasource.schema.json.js.map +0 -0
  150. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-sentry-datasource.schema.json.js +0 -0
  151. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-sentry-datasource.schema.json.js.map +0 -0
  152. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-servicenow-datasource.schema.json.js +0 -0
  153. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-servicenow-datasource.schema.json.js.map +0 -0
  154. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-snowflake-datasource.schema.json.js +0 -0
  155. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-snowflake-datasource.schema.json.js.map +0 -0
  156. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-splunkobservability-datasource.schema.json.js +0 -0
  157. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-splunkobservability-datasource.schema.json.js.map +0 -0
  158. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-strava-datasource.schema.json.js +0 -0
  159. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-strava-datasource.schema.json.js.map +0 -0
  160. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-sumologic-datasource.schema.json.js +0 -0
  161. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-sumologic-datasource.schema.json.js.map +0 -0
  162. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-surrealdb-datasource.schema.json.js +0 -0
  163. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-surrealdb-datasource.schema.json.js.map +0 -0
  164. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-timestream-datasource.schema.json.js +0 -0
  165. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-timestream-datasource.schema.json.js.map +0 -0
  166. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-wavefront-datasource.schema.json.js +0 -0
  167. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-wavefront-datasource.schema.json.js.map +0 -0
  168. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-x-ray-datasource.schema.json.js +0 -0
  169. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-x-ray-datasource.schema.json.js.map +0 -0
  170. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-yugabyte-datasource.schema.json.js +0 -0
  171. /package/dist/esm/{datasource/schema/datasources → schema/registry}/grafana-yugabyte-datasource.schema.json.js.map +0 -0
  172. /package/dist/esm/{datasource/schema/datasources → schema/registry}/graphite.schema.json.js +0 -0
  173. /package/dist/esm/{datasource/schema/datasources → schema/registry}/graphite.schema.json.js.map +0 -0
  174. /package/dist/esm/{datasource/schema/datasources → schema/registry}/influxdb.schema.json.js +0 -0
  175. /package/dist/esm/{datasource/schema/datasources → schema/registry}/influxdb.schema.json.js.map +0 -0
  176. /package/dist/esm/{datasource/schema/datasources → schema/registry}/jaeger.schema.json.js +0 -0
  177. /package/dist/esm/{datasource/schema/datasources → schema/registry}/jaeger.schema.json.js.map +0 -0
  178. /package/dist/esm/{datasource/schema/datasources → schema/registry}/loki.schema.json.js +0 -0
  179. /package/dist/esm/{datasource/schema/datasources → schema/registry}/loki.schema.json.js.map +0 -0
  180. /package/dist/esm/{datasource/schema/datasources → schema/registry}/marcusolsson-csv-datasource.schema.json.js +0 -0
  181. /package/dist/esm/{datasource/schema/datasources → schema/registry}/marcusolsson-csv-datasource.schema.json.js.map +0 -0
  182. /package/dist/esm/{datasource/schema/datasources → schema/registry}/marcusolsson-json-datasource.schema.json.js +0 -0
  183. /package/dist/esm/{datasource/schema/datasources → schema/registry}/marcusolsson-json-datasource.schema.json.js.map +0 -0
  184. /package/dist/esm/{datasource/schema/datasources → schema/registry}/mssql.schema.json.js +0 -0
  185. /package/dist/esm/{datasource/schema/datasources → schema/registry}/mssql.schema.json.js.map +0 -0
  186. /package/dist/esm/{datasource/schema/datasources → schema/registry}/mysql.schema.json.js +0 -0
  187. /package/dist/esm/{datasource/schema/datasources → schema/registry}/mysql.schema.json.js.map +0 -0
  188. /package/dist/esm/{datasource/schema/datasources → schema/registry}/opentsdb.schema.json.js +0 -0
  189. /package/dist/esm/{datasource/schema/datasources → schema/registry}/opentsdb.schema.json.js.map +0 -0
  190. /package/dist/esm/{datasource/schema/datasources → schema/registry}/prometheus.schema.json.js +0 -0
  191. /package/dist/esm/{datasource/schema/datasources → schema/registry}/prometheus.schema.json.js.map +0 -0
  192. /package/dist/esm/{datasource/schema/datasources → schema/registry}/stackdriver.schema.json.js +0 -0
  193. /package/dist/esm/{datasource/schema/datasources → schema/registry}/stackdriver.schema.json.js.map +0 -0
  194. /package/dist/esm/{datasource/schema/datasources → schema/registry}/tempo.schema.json.js +0 -0
  195. /package/dist/esm/{datasource/schema/datasources → schema/registry}/tempo.schema.json.js.map +0 -0
  196. /package/dist/esm/{datasource/schema/datasources → schema/registry}/yesoreyeram-infinity-datasource.schema.json.js +0 -0
  197. /package/dist/esm/{datasource/schema/datasources → schema/registry}/yesoreyeram-infinity-datasource.schema.json.js.map +0 -0
  198. /package/dist/esm/{datasource/schema/datasources → schema/registry}/zipkin.schema.json.js +0 -0
  199. /package/dist/esm/{datasource/schema/datasources → schema/registry}/zipkin.schema.json.js.map +0 -0
@@ -1452,6 +1452,217 @@ declare function useHealthChecks(): {
1452
1452
 
1453
1453
  declare function resolvePluginName(pluginType: string): string;
1454
1454
 
1455
+ /**
1456
+ * CEL (Common Expression Language) expression evaluator for schema conditions.
1457
+ *
1458
+ * Used by `dependsOn`, `requiredWhen`, `disabledWhen`, and `overrides[].when`.
1459
+ * Wraps @marcbachmann/cel-js with field-ID-aware context building.
1460
+ *
1461
+ * Go equivalent: github.com/google/cel-go
1462
+ */
1463
+ /**
1464
+ * Build a nested context object from flat form values keyed by field IDs.
1465
+ *
1466
+ * CEL interprets dots as property access, so `jsonData.auth_method == 'oauth2'`
1467
+ * requires `{ jsonData: { auth_method: 'oauth2' } }`.
1468
+ *
1469
+ * This function takes flat key-value pairs (from react-hook-form `watch()`)
1470
+ * and builds the nested structure CEL expects.
1471
+ *
1472
+ * @param values - Flat map of form keys to values (e.g. `{ "auth_method": "oauth2", "oauth2.oauth2_type": "jwt" }`)
1473
+ * @param fieldIdToFormKey - Optional map from field ID to form key for translation
1474
+ */
1475
+ declare function buildCelContext(values: Record<string, unknown>): Record<string, unknown>;
1476
+ /**
1477
+ * Evaluate a CEL expression against a context of field values.
1478
+ * Returns the boolean result, or `defaultValue` if the expression is invalid.
1479
+ *
1480
+ * @example
1481
+ * ```ts
1482
+ * evaluateCelExpression("jsonData.auth_method == 'oauth2'", { jsonData: { auth_method: 'oauth2' } })
1483
+ * // => true
1484
+ *
1485
+ * evaluateCelExpression("auth_method == 'oauth2' && oauth2_type == 'jwt'", { auth_method: 'oauth2', oauth2_type: 'jwt' })
1486
+ * // => true
1487
+ * ```
1488
+ */
1489
+ declare function evaluateCelExpression(expr: string, context: Record<string, unknown>, defaultValue?: boolean): boolean;
1490
+ /**
1491
+ * Evaluate a CEL expression directly using `evaluate` (no caching).
1492
+ * Useful for one-off evaluations or testing.
1493
+ */
1494
+ declare function evaluateCelDirect(expr: string, context: Record<string, unknown>): unknown;
1495
+ /**
1496
+ * Validate that a CEL expression can be parsed without errors.
1497
+ * Returns true if valid, false otherwise.
1498
+ */
1499
+ declare function isValidCelExpression(expr: string): boolean;
1500
+ /**
1501
+ * Extract all field ID references from a simple expression.
1502
+ * Used by `resolveRequiredFieldsGroup` to find dependency relationships.
1503
+ *
1504
+ * For simple expressions like `fieldA == 'x'`, returns `['fieldA']`.
1505
+ * For compound expressions like `fieldA == 'x' && fieldB == 'y'`, returns `['fieldA', 'fieldB']`.
1506
+ *
1507
+ * This uses regex extraction (not AST walking) for simplicity and speed.
1508
+ */
1509
+ declare function extractFieldRefs(expr: string): string[];
1510
+ /**
1511
+ * Clear the expression cache. Useful for testing.
1512
+ */
1513
+ declare function clearExpressionCache(): void;
1514
+
1515
+ declare function getConfigSchema(pluginType: string): DatasourceConfigSchema | null;
1516
+
1517
+ /**
1518
+ * Generate LLM hints for select fields (used when creating datasources).
1519
+ */
1520
+ declare function generateLLMHint(schema: DatasourceConfigSchema): string;
1521
+ /**
1522
+ * Generate comprehensive structured field data for troubleshooting context.
1523
+ * Returns an array of field descriptors the LLM can use to render rich tables.
1524
+ */
1525
+ declare function generateTroubleshootingFields(schema: DatasourceConfigSchema): Array<{
1526
+ label: string;
1527
+ key: string;
1528
+ target: string;
1529
+ type: string;
1530
+ required: boolean;
1531
+ description?: string;
1532
+ defaultValue?: unknown;
1533
+ options?: string[];
1534
+ section?: string;
1535
+ dependsOn?: string;
1536
+ }>;
1537
+
1538
+ type YamlRenderOptions = {
1539
+ jsonDataKeys?: string[];
1540
+ secureKeys?: string[];
1541
+ };
1542
+ type ProvisioningYamlOptions = {
1543
+ /** Include comments with field descriptions. Default: true for template, false for export. */
1544
+ comments?: boolean;
1545
+ /** Name override (used in template mode). */
1546
+ name?: string;
1547
+ };
1548
+ /**
1549
+ * Generate a Grafana provisioning YAML from a dsconfig schema.
1550
+ * In template mode (no values), emits all fields with defaults and comments.
1551
+ * When values are provided, emits actual values — used for existing datasource export.
1552
+ */
1553
+ declare function toProvisioningYaml(schema: DatasourceConfigSchema, values?: Record<string, unknown>, options?: ProvisioningYamlOptions): string;
1554
+ /**
1555
+ * Generate provisioning YAML from an existing Grafana datasource API response.
1556
+ * If a dsconfig schema is available, uses it for field ordering and comments.
1557
+ * If not, generates basic YAML from the raw API response.
1558
+ */
1559
+ declare function datasourceToProvisioningYaml(ds: Record<string, unknown>, schema: DatasourceConfigSchema | null): string;
1560
+ declare const configToYaml: (ds: Record<string, unknown>, options?: YamlRenderOptions) => string;
1561
+ declare const formatYamlDiff: (existing: Record<string, unknown>, body: Record<string, unknown>) => string;
1562
+
1563
+ type UseDatasourceSchemaResult = {
1564
+ schema: DatasourceConfigSchema | null;
1565
+ loading: boolean;
1566
+ error: string | null;
1567
+ };
1568
+ declare function useDatasourceSchema(pluginType: string): UseDatasourceSchemaResult;
1569
+ declare function fetchConfigSchema(pluginType: string): DatasourceConfigSchema | null;
1570
+
1571
+ declare const ROOT_CONFIG_FIELDS: readonly ["name", "type", "id", "uid", "access", "url", "basicAuth", "basicAuthUser", "user", "isDefault", "database", "withCredentials"];
1572
+ type DatasourceConfig = Record<any, any>;
1573
+ declare const buildCreateDatasourcePayload: (input: DatasourceConfig) => DatasourceConfig;
1574
+ declare const buildCloneDatasourcePayload: (source: DatasourceConfig, name: string) => DatasourceConfig;
1575
+ declare const buildUpdateDatasourcePayload: (existing: DatasourceConfig, input: DatasourceConfig) => {
1576
+ body: DatasourceConfig;
1577
+ hasChanges: boolean;
1578
+ };
1579
+
1580
+ /**
1581
+ * Pure helper functions for working with DatasourceConfigSchema.
1582
+ *
1583
+ * Types are defined in schema.ts — import them from there directly.
1584
+ */
1585
+
1586
+ /**
1587
+ * Resolve a schema's groups into arrays of ConfigField objects.
1588
+ * If the schema has no groups, returns a single group containing all non-virtual fields.
1589
+ */
1590
+ declare function resolveGroups(schema: DatasourceConfigSchema): Array<{
1591
+ group: ConfigGroup;
1592
+ fields: ConfigField[];
1593
+ }>;
1594
+ /**
1595
+ * Build a virtual "Required" group containing all required fields, any parent
1596
+ * fields they depend on (via `dependsOn`), and any child fields that depend on
1597
+ * required fields. When the schema contains an "auth" group, its fields are
1598
+ * also pulled in (auth is effectively required for Prometheus/Loki/Tempo style
1599
+ * datasources). Fields are returned in schema order and de-duplicated.
1600
+ * Returns `null` when the virtual group would be empty.
1601
+ */
1602
+ declare function resolveRequiredFieldsGroup(schema: DatasourceConfigSchema): {
1603
+ group: ConfigGroup;
1604
+ fields: ConfigField[];
1605
+ } | null;
1606
+ /**
1607
+ * Unique form key for a field. Section-scoped fields (e.g. section:"logs", key:"defaultTable")
1608
+ * get a prefixed key ("logs.defaultTable") so they don't collide with top-level fields that
1609
+ * share the same key name.
1610
+ */
1611
+ declare function formKey(field: ConfigField): string;
1612
+ /**
1613
+ * Resolve a possibly-dotted key against watchedValues from react-hook-form.
1614
+ * RHF's `watch()` returns nested objects for dotted Controller names
1615
+ * (e.g. "logs.otelEnabled" → { logs: { otelEnabled: true } }),
1616
+ * so a flat `obj["logs.otelEnabled"]` lookup misses.
1617
+ *
1618
+ * For dotted keys we must try the nested path **first**: react-hook-form's
1619
+ * Controller `onChange` writes nested objects via its internal `set()`, but
1620
+ * `reset()` may have created a flat dotted key with the same name. After user
1621
+ * interaction the nested value is authoritative; the stale flat key must not
1622
+ * shadow it. This mirrors RHF's own `get()` semantics (nested-first, flat
1623
+ * fallback).
1624
+ */
1625
+ declare function getWatchedValue(watchedValues: Record<string, unknown>, key: string): unknown;
1626
+ /**
1627
+ * Parse a simple CEL-like dependsOn expression: "fieldId == 'value'" or "fieldId != 'value'".
1628
+ * Only single comparisons are supported — no &&, ||, or parentheses.
1629
+ * Field IDs may contain dots and underscores (e.g. "jsonData.oauth2.oauth2_type").
1630
+ * Values may be single-quoted, double-quoted, or unquoted literals (true/false/numbers).
1631
+ * Returns { field, value, negate } or null if unparseable.
1632
+ */
1633
+ declare function parseDependsOn(expr: string): {
1634
+ field: string;
1635
+ value: string;
1636
+ negate: boolean;
1637
+ } | null;
1638
+ /**
1639
+ * Evaluate a parsed dependsOn condition against a value.
1640
+ * Handles both == and != operators.
1641
+ */
1642
+ declare function evaluateDependsOn(parsed: {
1643
+ value: string;
1644
+ negate: boolean;
1645
+ }, currentValue: unknown): boolean;
1646
+ /**
1647
+ * Resolve the first matching override for a field given current form values.
1648
+ * Override `when` uses the same "fieldId == 'value'" syntax as dependsOn.
1649
+ * Returns the matching override or undefined if none match.
1650
+ */
1651
+ declare function resolveActiveOverride(field: ConfigField, watchedValues: Record<string, unknown>, fieldById: Map<string, ConfigField>): FieldOverride | undefined;
1652
+ /**
1653
+ * Evaluate a simple computed.read expression against form values.
1654
+ * Supports patterns used in dsconfig schemas:
1655
+ * - "fieldRef == true ? 'a' : (fieldRef == true ? 'b' : 'c')"
1656
+ * - Simple ternary chains with equality checks
1657
+ * Falls back to the field's defaultValue if the expression can't be evaluated.
1658
+ */
1659
+ declare function evaluateComputedRead(expr: string, values: Record<string, unknown>, fields: ConfigField[]): unknown;
1660
+ /**
1661
+ * Compute initial values for all virtual fields that have storage.computed.read expressions.
1662
+ * Call after loading existing storage field values.
1663
+ */
1664
+ declare function computeVirtualFieldValues(schema: DatasourceConfigSchema, existingValues: Record<string, unknown>): Record<string, unknown>;
1665
+
1455
1666
  interface CustomHeader {
1456
1667
  id: string;
1457
1668
  name: string;
@@ -1676,204 +1887,4 @@ interface Props {
1676
1887
  }
1677
1888
  declare function RawQuery({ query, language, className }: Props): React.JSX.Element;
1678
1889
 
1679
- /**
1680
- * Pure helper functions for working with DatasourceConfigSchema.
1681
- *
1682
- * Types are defined in schema.ts — import them from there directly.
1683
- */
1684
-
1685
- /**
1686
- * Resolve a schema's groups into arrays of ConfigField objects.
1687
- * If the schema has no groups, returns a single group containing all non-virtual fields.
1688
- */
1689
- declare function resolveGroups(schema: DatasourceConfigSchema): Array<{
1690
- group: ConfigGroup;
1691
- fields: ConfigField[];
1692
- }>;
1693
- /**
1694
- * Build a virtual "Required" group containing all required fields, any parent
1695
- * fields they depend on (via `dependsOn`), and any child fields that depend on
1696
- * required fields. When the schema contains an "auth" group, its fields are
1697
- * also pulled in (auth is effectively required for Prometheus/Loki/Tempo style
1698
- * datasources). Fields are returned in schema order and de-duplicated.
1699
- * Returns `null` when the virtual group would be empty.
1700
- */
1701
- declare function resolveRequiredFieldsGroup(schema: DatasourceConfigSchema): {
1702
- group: ConfigGroup;
1703
- fields: ConfigField[];
1704
- } | null;
1705
- /**
1706
- * Unique form key for a field. Section-scoped fields (e.g. section:"logs", key:"defaultTable")
1707
- * get a prefixed key ("logs.defaultTable") so they don't collide with top-level fields that
1708
- * share the same key name.
1709
- */
1710
- declare function formKey(field: ConfigField): string;
1711
- /**
1712
- * Resolve a possibly-dotted key against watchedValues from react-hook-form.
1713
- * RHF's `watch()` returns nested objects for dotted Controller names
1714
- * (e.g. "logs.otelEnabled" → { logs: { otelEnabled: true } }),
1715
- * so a flat `obj["logs.otelEnabled"]` lookup misses.
1716
- *
1717
- * For dotted keys we must try the nested path **first**: react-hook-form's
1718
- * Controller `onChange` writes nested objects via its internal `set()`, but
1719
- * `reset()` may have created a flat dotted key with the same name. After user
1720
- * interaction the nested value is authoritative; the stale flat key must not
1721
- * shadow it. This mirrors RHF's own `get()` semantics (nested-first, flat
1722
- * fallback).
1723
- */
1724
- declare function getWatchedValue(watchedValues: Record<string, unknown>, key: string): unknown;
1725
- /**
1726
- * Parse a simple CEL-like dependsOn expression: "fieldId == 'value'" or "fieldId != 'value'".
1727
- * Only single comparisons are supported — no &&, ||, or parentheses.
1728
- * Field IDs may contain dots and underscores (e.g. "jsonData.oauth2.oauth2_type").
1729
- * Values may be single-quoted, double-quoted, or unquoted literals (true/false/numbers).
1730
- * Returns { field, value, negate } or null if unparseable.
1731
- */
1732
- declare function parseDependsOn(expr: string): {
1733
- field: string;
1734
- value: string;
1735
- negate: boolean;
1736
- } | null;
1737
- /**
1738
- * Evaluate a parsed dependsOn condition against a value.
1739
- * Handles both == and != operators.
1740
- */
1741
- declare function evaluateDependsOn(parsed: {
1742
- value: string;
1743
- negate: boolean;
1744
- }, currentValue: unknown): boolean;
1745
- /**
1746
- * Resolve the first matching override for a field given current form values.
1747
- * Override `when` uses the same "fieldId == 'value'" syntax as dependsOn.
1748
- * Returns the matching override or undefined if none match.
1749
- */
1750
- declare function resolveActiveOverride(field: ConfigField, watchedValues: Record<string, unknown>, fieldById: Map<string, ConfigField>): FieldOverride | undefined;
1751
- /**
1752
- * Evaluate a simple computed.read expression against form values.
1753
- * Supports patterns used in dsconfig schemas:
1754
- * - "fieldRef == true ? 'a' : (fieldRef == true ? 'b' : 'c')"
1755
- * - Simple ternary chains with equality checks
1756
- * Falls back to the field's defaultValue if the expression can't be evaluated.
1757
- */
1758
- declare function evaluateComputedRead(expr: string, values: Record<string, unknown>, fields: ConfigField[]): unknown;
1759
- /**
1760
- * Compute initial values for all virtual fields that have storage.computed.read expressions.
1761
- * Call after loading existing storage field values.
1762
- */
1763
- declare function computeVirtualFieldValues(schema: DatasourceConfigSchema, existingValues: Record<string, unknown>): Record<string, unknown>;
1764
-
1765
- type DatasourceResponse = Record<string, unknown> & {
1766
- name: string;
1767
- id: number;
1768
- uid: string;
1769
- access?: 'proxy' | 'direct';
1770
- type?: string;
1771
- typeLogoUrl?: string;
1772
- url?: string;
1773
- withCredentials?: boolean;
1774
- basicAuth?: boolean;
1775
- basicAuthUser?: string;
1776
- user?: string;
1777
- database?: string;
1778
- jsonData?: Record<string, unknown>;
1779
- secureJsonFields?: Record<string, boolean>;
1780
- readOnly?: boolean;
1781
- };
1782
- type DatasourceConfigPayload = {
1783
- rootFields: Record<string, unknown>;
1784
- jsonData: Record<string, unknown>;
1785
- secureJsonData: Record<string, string>;
1786
- secureJsonFields: Record<string, boolean>;
1787
- };
1788
- type FormValues = Record<string, unknown>;
1789
-
1790
- declare const SECURE_FIELD_CONFIGURED = "__CONFIGURED__";
1791
- /**
1792
- * Resolve a secureKey template string by replacing placeholders.
1793
- *
1794
- * Supported placeholders:
1795
- * - `{index}` — 0-based array position
1796
- * - `{index1}` — 1-based array position
1797
- * - `{item.KEY}` — value of sibling field `KEY` in the same item object
1798
- */
1799
- declare function resolveSecureKeyTemplate(template: string, item: Record<string, unknown>, index: number): string;
1800
- /**
1801
- * For a given item object at a given index, find the first active secureKey
1802
- * override across all item fields. Returns the resolved secureJsonData key
1803
- * and the item field key whose value should be routed, or null if none active.
1804
- */
1805
- declare function findActiveSecureOverride(itemFields: ConfigField[], item: Record<string, unknown>, index: number): {
1806
- fieldKey: string;
1807
- resolvedKey: string;
1808
- } | null;
1809
- type FetchExistingResult = {
1810
- values: FormValues;
1811
- readOnly: boolean;
1812
- error?: string;
1813
- };
1814
- /** Indexed pair item as stored in form values. Each item tracks its original storage index. */
1815
- type IndexedPairItem = {
1816
- /** Original storage index (e.g. 1 for httpHeaderName1). 0 = new item, not yet persisted. */
1817
- index: number;
1818
- name: string;
1819
- value: string;
1820
- };
1821
- /**
1822
- * Expand indexed pair storage (e.g. httpHeaderName1..N / httpHeaderValue1..N)
1823
- * into an array of {index, name, value} items for the form.
1824
- * Each item's `index` tracks its storage position so deletes don't shift others.
1825
- * Scans all keys in the source record to find matching indices — no gap heuristics.
1826
- */
1827
- declare function expandIndexedPair(field: ConfigField, ds: DatasourceResponse): IndexedPairItem[];
1828
- /**
1829
- * Flatten an array of indexed pair items back into individual indexed keys
1830
- * for jsonData and secureJsonData.
1831
- */
1832
- declare function flattenIndexedPair(field: ConfigField, items: IndexedPairItem[], jsonData: Record<string, unknown>, secureJsonData: Record<string, string>, secureJsonFields: Record<string, boolean>): void;
1833
- declare function fetchExistingValues(dsUid: string, fields: ConfigField[]): Promise<FetchExistingResult>;
1834
- declare function buildDatasourceConfigPayload(data: FormValues, fields: ConfigField[], existing: DatasourceResponse, isFieldVisible: (field: ConfigField) => boolean): DatasourceConfigPayload;
1835
- declare function submitDatasourceConfig(dsUid: string, data: FormValues, fields: ConfigField[], isFieldVisible: (field: ConfigField) => boolean): Promise<void>;
1836
-
1837
- /**
1838
- * Generate LLM hints for select fields (used when creating datasources).
1839
- */
1840
- declare function generateLLMHint(schema: DatasourceConfigSchema): string;
1841
- /**
1842
- * Generate comprehensive structured field data for troubleshooting context.
1843
- * Returns an array of field descriptors the LLM can use to render rich tables.
1844
- */
1845
- declare function generateTroubleshootingFields(schema: DatasourceConfigSchema): Array<{
1846
- label: string;
1847
- key: string;
1848
- target: string;
1849
- type: string;
1850
- required: boolean;
1851
- description?: string;
1852
- defaultValue?: unknown;
1853
- options?: string[];
1854
- section?: string;
1855
- dependsOn?: string;
1856
- }>;
1857
-
1858
- type ProvisioningYamlOptions = {
1859
- /** Include comments with field descriptions. Default: true for template, false for export. */
1860
- comments?: boolean;
1861
- /** Name override (used in template mode). */
1862
- name?: string;
1863
- };
1864
- /**
1865
- * Generate a Grafana provisioning YAML from a dsconfig schema.
1866
- * In template mode (no values), emits all fields with defaults and comments.
1867
- * When values are provided, emits actual values — used for existing datasource export.
1868
- */
1869
- declare function toProvisioningYaml(schema: DatasourceConfigSchema, values?: Record<string, unknown>, options?: ProvisioningYamlOptions): string;
1870
- /**
1871
- * Generate provisioning YAML from an existing Grafana datasource API response.
1872
- * If a dsconfig schema is available, uses it for field ordering and comments.
1873
- * If not, generates basic YAML from the raw API response.
1874
- */
1875
- declare function datasourceToProvisioningYaml(ds: Record<string, unknown>, schema: DatasourceConfigSchema | null): string;
1876
-
1877
- declare function getConfigSchema(pluginType: string): DatasourceConfigSchema | null;
1878
-
1879
- export { AccessoryButton, AdvancedHttpSettings, type Aggregate, type AllowedValuesValidationRule, Auth, AuthMethod, type Props$c as AuthProps, BINARY_OPERATIONS_KEY, type BaseValidationRule, CatalogSelector, type ColumnDefinition, CompletionItemInsertTextRule, CompletionItemKind, CompletionItemPriority, type ComputedMapping, ConfigDescriptionLink, type ConfigField, type ConfigGroup, ConfigSection, ConfigSubSection, ConnectionSettings, CustomHeadersSettings, type CustomValidationRule, type DB, DataLink, type DataLinkConfig, DataLinks, DataSourceDescription, DataSourcePicker, DatasetSelector, type DatasourceConfigPayload, type DatasourceConfigSchema, DatasourceConfigWizard, type DatasourceConfigWizardProps, DatasourceErrorBoundary, type DatasourceHealth, type DatasourceResponse, DatePicker, type DatePickerProps, DatePickerWithInput, type DatePickerWithInputProps, DebounceInput, type DebounceInputProps, type DirectMapping, EditorField, EditorFieldGroup, EditorHeader, EditorList, EditorMode, EditorRow, EditorRows, EditorStack, EditorSwitch, type Expression, type FetchExistingResult, type FieldEffect, type FieldItemSchema, type FieldKind, type FieldOption, type FieldOverride, type FieldRelationship, type FieldUI, type FieldValidationRule, FlexItem, type FormState, type FormValues, GroupByRow, type HealthState, type IndexedPairItem, type IndexedPairMapping, InlineSelect, InputGroup, type ItemCountValidationRule, LabelFilters, type LanguageCompletionProvider, type LanguageDefinition, type LengthValidationRule, type Lifecycle, LinkedToken, MacroType, type MappingField, type MetaDefinition, type NameValue, OperationExplainedBox, OperationList, OperationListExplained, OperationsEditorRow, OperatorType, type PatternValidationRule, type PositionContext, type Props$s as Props, type ProvisioningYamlOptions, QUERY_FORMAT_OPTIONS, QueryBuilderHints, type QueryBuilderLabelFilter, type QueryBuilderOperation, type QueryBuilderOperationDefinition, type QueryBuilderOperationParamDef, type QueryBuilderOperationParamEditorProps, type QueryBuilderOperationParamValue, QueryEditorMode, QueryEditorModeToggle, type QueryEditorProps, QueryEditorRow, QueryFormat, QueryHeaderSwitch, QueryModellerBase, QueryOptionGroup, type QueryRowFilter, type QueryStats, type QueryWithDefaults, type RAQBFieldTypes, type RangeValidationRule, RawQuery, type RelationshipType, type ResourceSelectorProps, type ResponseParser, RunQueryButton, SECURE_FIELD_CONFIGURED, type SQLConnectionLimits, SQLEditor, SQLEditorMode, SQLEditorTestUtils, type SQLExpression, type SQLFilters, type SQLMonarchLanguage, type SQLOptions, type SQLQuery, type SQLSelectableValue, type SchemaDefinition, type SecureFieldState, SecureSocksProxyToggle, Segment, type SegmentProps, type SemanticType, Space, SqlDatasource, SqlQueryEditor, type SqlQueryForInterpolation, type SqlQueryModel, type State$1 as State, type StatementPlacementProvider, StatementPosition, type StorageMapping, SuggestionKind, type SuggestionKindProvider, TLSSettings, type Props$f as TLSSettingsProps, type TableDefinition, type TableFieldSchema, type TableIdentifier, type TableSchema, TableSelector, type TargetLocation, type TestQueryModel, TokenType, type UIComponent, type UIWidth, type ValidationResults, type ValueType, type VisualQuery, type VisualQueryBinary, type VisualQueryModeller, buildDatasourceConfigPayload, computeVirtualFieldValues, convertLegacyAuthProps, datasourceToProvisioningYaml, evaluateComputedRead, evaluateDependsOn, expandIndexedPair, fetchExistingValues, findActiveSecureOverride, flattenIndexedPair, formKey, formatDate, generateLLMHint, generateTroubleshootingFields, getConfigSchema, getStandardSQLCompletionProvider, getWatchedValue, language as grafanaStandardSQLLanguage, conf as grafanaStandardSQLLanguageConf, parseDependsOn, resolveActiveOverride, resolveGroups, resolvePluginName, resolveRequiredFieldsGroup, resolveSecureKeyTemplate, submitDatasourceConfig, toOption, toProvisioningYaml, useHealthChecks };
1890
+ export { AccessoryButton, AdvancedHttpSettings, type Aggregate, type AllowedValuesValidationRule, Auth, AuthMethod, type Props$c as AuthProps, BINARY_OPERATIONS_KEY, type BaseValidationRule, CatalogSelector, type ColumnDefinition, CompletionItemInsertTextRule, CompletionItemKind, CompletionItemPriority, type ComputedMapping, ConfigDescriptionLink, type ConfigField, type ConfigGroup, ConfigSection, ConfigSubSection, ConnectionSettings, CustomHeadersSettings, type CustomValidationRule, type DB, DataLink, type DataLinkConfig, DataLinks, DataSourceDescription, DataSourcePicker, DatasetSelector, type DatasourceConfigSchema, DatasourceConfigWizard, type DatasourceConfigWizardProps, DatasourceErrorBoundary, type DatasourceHealth, DatePicker, type DatePickerProps, DatePickerWithInput, type DatePickerWithInputProps, DebounceInput, type DebounceInputProps, type DirectMapping, EditorField, EditorFieldGroup, EditorHeader, EditorList, EditorMode, EditorRow, EditorRows, EditorStack, EditorSwitch, type Expression, type FieldEffect, type FieldItemSchema, type FieldKind, type FieldOption, type FieldOverride, type FieldRelationship, type FieldUI, type FieldValidationRule, FlexItem, type FormState, GroupByRow, type HealthState, type IndexedPairMapping, InlineSelect, InputGroup, type ItemCountValidationRule, LabelFilters, type LanguageCompletionProvider, type LanguageDefinition, type LengthValidationRule, type Lifecycle, LinkedToken, MacroType, type MappingField, type MetaDefinition, type NameValue, OperationExplainedBox, OperationList, OperationListExplained, OperationsEditorRow, OperatorType, type PatternValidationRule, type PositionContext, type Props$s as Props, type ProvisioningYamlOptions, QUERY_FORMAT_OPTIONS, QueryBuilderHints, type QueryBuilderLabelFilter, type QueryBuilderOperation, type QueryBuilderOperationDefinition, type QueryBuilderOperationParamDef, type QueryBuilderOperationParamEditorProps, type QueryBuilderOperationParamValue, QueryEditorMode, QueryEditorModeToggle, type QueryEditorProps, QueryEditorRow, QueryFormat, QueryHeaderSwitch, QueryModellerBase, QueryOptionGroup, type QueryRowFilter, type QueryStats, type QueryWithDefaults, type RAQBFieldTypes, ROOT_CONFIG_FIELDS, type RangeValidationRule, RawQuery, type RelationshipType, type ResourceSelectorProps, type ResponseParser, RunQueryButton, type SQLConnectionLimits, SQLEditor, SQLEditorMode, SQLEditorTestUtils, type SQLExpression, type SQLFilters, type SQLMonarchLanguage, type SQLOptions, type SQLQuery, type SQLSelectableValue, type SchemaDefinition, type SecureFieldState, SecureSocksProxyToggle, Segment, type SegmentProps, type SemanticType, Space, SqlDatasource, SqlQueryEditor, type SqlQueryForInterpolation, type SqlQueryModel, type State$1 as State, type StatementPlacementProvider, StatementPosition, type StorageMapping, SuggestionKind, type SuggestionKindProvider, TLSSettings, type Props$f as TLSSettingsProps, type TableDefinition, type TableFieldSchema, type TableIdentifier, type TableSchema, TableSelector, type TargetLocation, type TestQueryModel, TokenType, type UIComponent, type UIWidth, type ValidationResults, type ValueType, type VisualQuery, type VisualQueryBinary, type VisualQueryModeller, buildCelContext, buildCloneDatasourcePayload, buildCreateDatasourcePayload, buildUpdateDatasourcePayload, clearExpressionCache, computeVirtualFieldValues, configToYaml, convertLegacyAuthProps, datasourceToProvisioningYaml, evaluateCelDirect, evaluateCelExpression, evaluateComputedRead, evaluateDependsOn, extractFieldRefs, fetchConfigSchema, formKey, formatDate, formatYamlDiff, generateLLMHint, generateTroubleshootingFields, getConfigSchema, getStandardSQLCompletionProvider, getWatchedValue, language as grafanaStandardSQLLanguage, conf as grafanaStandardSQLLanguageConf, isValidCelExpression, parseDependsOn, resolveActiveOverride, resolveGroups, resolvePluginName, resolveRequiredFieldsGroup, toOption, toProvisioningYaml, useDatasourceSchema, useHealthChecks };