import { Span, Context } from '@opentelemetry/api'; import { SugaredTracer, SugaredSpanOptions } from '@opentelemetry/api/experimental'; declare const getTracer: (name?: string, version?: string) => SugaredTracer | undefined; declare const shutdownTracers: () => Promise; declare function withActiveSpan ReturnType>(tracer: SugaredTracer | undefined, name: string, fn: F): ReturnType; declare function withActiveSpan ReturnType>(tracer: SugaredTracer | undefined, name: string, options: SugaredSpanOptions, fn: F): ReturnType; declare function withActiveSpan ReturnType>(tracer: SugaredTracer | undefined, name: string, options: SugaredSpanOptions, context: Context, fn: F): ReturnType; export { getTracer, shutdownTracers, withActiveSpan };