import type { SerializedTraceData } from '@sentry/types'; /** * Extracts trace propagation data from the current span or from the client's scope (via transaction or propagation * context) and serializes it to `sentry-trace` and `baggage` values to strings. These values can be used to propagate * a trace via our tracing Http headers or Html `` tags. * * This function also applies some validation to the generated sentry-trace and baggage values to ensure that * only valid strings are returned. * * @returns an object with the tracing data values. The object keys are the name of the tracing key to be used as header * or meta tag name. */ export declare function getTraceData(): SerializedTraceData; /** * Tests string against baggage spec as defined in: * * - W3C Baggage grammar: https://www.w3.org/TR/baggage/#definition * - RFC7230 token definition: https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.6 * * exported for testing */ export declare function isValidBaggageString(baggage?: string): boolean; //# sourceMappingURL=traceData.d.ts.map