export { N as NoOpMetrics } from "../packem_shared/no-op-metrics.d-CqCPyNVL.js"; import { Meter } from '@opentelemetry/api'; import { M as Metrics } from "../packem_shared/types.d-DFh9698o.js"; import 'node:crypto'; import 'node:http'; import 'node:stream'; import 'lru-cache'; /** * OpenTelemetry-based metrics implementation. */ declare class OpenTelemetryMetrics implements Metrics { private readonly meter; private readonly counters; private readonly histograms; private readonly gauges; /** * Creates a new OpenTelemetryMetrics instance. * @param meter OpenTelemetry Meter instance. If not provided, uses the default meter. * @throws {Error} If \@opentelemetry/api is not installed */ constructor(meter?: Meter); /** * Increment a counter metric. */ increment(name: string, value?: number, attributes?: Record): void; /** * Record a duration/timing metric in milliseconds. */ timing(name: string, duration: number, attributes?: Record): void; /** * Set a gauge metric value. */ gauge(name: string, value: number, attributes?: Record): void; } export { OpenTelemetryMetrics };