import * as api from '@opentelemetry/api'; import { ReadableSpan } from '@opentelemetry/tracing'; import * as zipkinTypes from './types'; import { Resource } from '@opentelemetry/resources'; export declare const statusCodeTagName = "ot.status_code"; export declare const statusDescriptionTagName = "ot.status_description"; /** * Translate OpenTelemetry ReadableSpan to ZipkinSpan format * @param span Span to be translated */ export declare function toZipkinSpan(span: ReadableSpan, serviceName: string, statusCodeTagName: string, statusDescriptionTagName: string): zipkinTypes.Span; /** Converts OpenTelemetry SpanAttributes and SpanStatus to Zipkin Tags format. */ export declare function _toZipkinTags(attributes: api.SpanAttributes, status: api.SpanStatus, statusCodeTagName: string, statusDescriptionTagName: string, resource: Resource): zipkinTypes.Tags; /** * Converts OpenTelemetry Events to Zipkin Annotations format. */ export declare function _toZipkinAnnotations(events: api.TimedEvent[]): zipkinTypes.Annotation[];