import { Attributes, Span, Tracer } from "@opentelemetry/api"; export type Protocol = "grpc" | "http/protobuf"; export declare function initTelemetry(defaultServiceName?: string, defaultEndpoint?: string, defaultProtocol?: Protocol, defaultConnectorName?: string, defaultConnectorVersion?: string): void; export declare function isInitialized(): boolean; export declare const USER_VISIBLE_SPAN_ATTRIBUTE: Attributes; export declare function withActiveSpan(tracer: Tracer, name: string, func: (span: Span) => TReturn, attributes?: Attributes): TReturn; export declare function withInternalActiveSpan(tracer: Tracer, name: string, func: (span: Span) => TReturn, attributes?: Attributes): TReturn; //# sourceMappingURL=instrumentation.d.ts.map