import { PrometheusTracingPluginConfig as EnvelopPrometheusTracingPluginConfig } from '@envelop/prometheus';
import { Plugin } from 'graphql-yoga';
export interface PrometheusTracingPluginConfig extends EnvelopPrometheusTracingPluginConfig {
    http?: boolean | EnvelopPrometheusTracingPluginConfig['execute'];
    /**
     * The endpoint to serve metrics exposed by this plugin.
     * Defaults to "/metrics".
     */
    endpoint?: string;
}
export declare function usePrometheus(options: PrometheusTracingPluginConfig): Plugin<any>;
