import { opentelemetry } from './opentelemetry'; export declare function getDefaultMeterName(name?: string): string; export declare function isValidMetric(metric: string): boolean; export declare function hasMeter(name?: string): boolean; /** * @deprecated Avoid manipulating the meter directly. Prefer * using metrics.createCounter() or metrics.createHistogram() */ export declare function getMeter(name?: string, version?: string, options?: opentelemetry.api.MeterOptions): opentelemetry.api.Meter; /** * @deprecated Prefer using metrics.createCounter() */ export declare function getMetricCounter(metric: string, options?: opentelemetry.api.MetricOptions): opentelemetry.api.Counter; /** * @deprecated Prefer using metrics.metric() */ export declare function metric(metric: string, context?: Record, options?: opentelemetry.api.MetricOptions, increment?: number, meterName?: string): void;