import type { Attributes } from '@opentelemetry/api'; import type { InMemorySpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base'; type SimplifiedNestedSpan = { _name: string; attributes: any; children: SimplifiedNestedSpan[]; }; export declare const getSimplifiedRootSpan: (exporter: InMemorySpanExporter, rootSpanName: string, mapAttributes?: (attributes: Attributes) => Attributes) => SimplifiedNestedSpan; export declare const getAllSimplifiedRootSpans: (exporter: InMemorySpanExporter, rootSpanName: string, mapAttributes?: (attributes: Attributes) => Attributes) => SimplifiedNestedSpan[]; export declare const toTraceFile: (spans: ReadableSpan[]) => { batches: { resource: { attributes: { key: string; value: { stringValue: string; }; }[]; droppedAttributesCount: number; }; instrumentationLibrarySpans: { spans: { name: string; kind: string; startTimeUnixNano: string; endTimeUnixNano: string; attributes: { key: string; value: { stringValue: string; intValue?: never; doubleValue?: never; boolValue?: never; } | { intValue: number; stringValue?: never; doubleValue?: never; boolValue?: never; } | { doubleValue: number; stringValue?: never; intValue?: never; boolValue?: never; } | { boolValue: boolean; stringValue?: never; intValue?: never; doubleValue?: never; }; }[]; droppedAttributesCount: number; droppedEventsCount: number; droppedLinksCount: number; status: { code: import("@opentelemetry/api").SpanStatusCode; message: string; }; parentSpanId: string; traceId: string; spanId: string; }[]; instrumentationLibrary: { name: string; version: string; }; }[]; }[]; }; export {}; //# sourceMappingURL=otel.d.ts.map