import { Span, SpanError } from '../tracing'; /** * Attaches an error to a specific span * * @param span The span to attach the error to * @param error The error to attach */ export declare function attachErrorToSpan(span: Span, error: SpanError): void; /** * Attaches an error to the current span if one exists * * @param error The error to attach */ export declare function attachErrorToCurrentSpan(error: SpanError): void;