import { type Observable } from 'rxjs'; import { CustomVariableSupport, type DataQueryRequest, type DataQueryResponse } from '@grafana/data'; import { type TemplateSrv } from '@grafana/runtime'; import { type PrometheusDatasource } from './datasource'; import { type PromVariableQuery } from './types'; export declare class PrometheusVariableSupport extends CustomVariableSupport { private readonly datasource; private readonly templateSrv; constructor(datasource: PrometheusDatasource, templateSrv?: TemplateSrv); editor: ({ onChange, query, datasource, range }: import("./components/VariableQueryEditor").Props) => import("react/jsx-runtime").JSX.Element; query(request: DataQueryRequest): Observable; }