import { Plugin } from 'graphql-yoga';
import { CounterAndLabels, createCounter, createHistogram, createSummary, PrometheusTracingPluginConfig as EnvelopPrometheusTracingPluginConfig, FillLabelsFnParams, HistogramAndLabels, SummaryAndLabels } from '@envelop/prometheus';
export { CounterAndLabels, createCounter, createHistogram, createSummary, FillLabelsFnParams, HistogramAndLabels, SummaryAndLabels, };
export interface PrometheusTracingPluginConfig extends EnvelopPrometheusTracingPluginConfig {
    http?: boolean | string | ReturnType<typeof createHistogram>;
    /**
     * The endpoint to serve metrics exposed by this plugin.
     * Defaults to "/metrics".
     */
    endpoint?: string | boolean;
}
export declare function usePrometheus(options: PrometheusTracingPluginConfig): Plugin;
