import React from 'react'; import { type DataSourceApi, type DataSourceOptionsType, type DataSourceQueryType, type QueryEditorProps } from '@grafana/data'; import { type DataQuery, type DataSourceJsonData } from '@grafana/schema'; /** * @alpha Experimental: QueryEditorWithMigration is a higher order component that wraps the QueryEditor component * and ensures that the query is migrated before being passed to the QueryEditor. */ export declare function QueryEditorWithMigration, TQuery extends DataQuery = DataSourceQueryType, TOptions extends DataSourceJsonData = DataSourceOptionsType>(QueryEditor: React.ComponentType>): (props: QueryEditorProps) => import("react/jsx-runtime").JSX.Element;