//#region src/tracers/span.d.ts type SpanEventLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error'; type SpanContext = { traceId: string; spanId: string; }; type SpanLink = SpanContext & { attributes?: Record; }; type ActiveSpan = { setAttributes(attrs: Record): void; spanContext(): SpanContext; addLink(link: SpanLink): void; addEvent(name: string, attributes?: Record, level?: SpanEventLevel): void; recordException(error: Error | string): void; }; type StartSpanOptions = { parent?: SpanContext; attributes?: Record; links?: SpanLink[]; propagation?: TracePropagation; sampleRate?: number; }; declare const noopSpan: ActiveSpan; //#endregion //#region src/tracers/tracer.d.ts type TracePropagation = 'links' | 'propagate'; type Tracer = { startSpan(name: string, fn: (span: ActiveSpan) => Promise, options?: StartSpanOptions): Promise; }; declare const noopTracer: () => Tracer; //#endregion export { SpanContext as a, StartSpanOptions as c, ActiveSpan as i, noopSpan as l, Tracer as n, SpanEventLevel as o, noopTracer as r, SpanLink as s, TracePropagation as t }; //# sourceMappingURL=tracer-DJWFmYul.d.ts.map