15 lines
480 B
TypeScript
15 lines
480 B
TypeScript
import type { BaggageFields } from '../types';
|
|
export declare function serializeBaggage(fields: BaggageFields): string;
|
|
export declare function parseBaggage(header: string): BaggageFields;
|
|
export declare function createBaggageFromTransaction(traceId: string, options?: {
|
|
dsnPublicKey?: string;
|
|
sampled?: boolean;
|
|
sampleRate?: number;
|
|
user?: {
|
|
id?: string;
|
|
segment?: string;
|
|
};
|
|
release?: string;
|
|
environment?: string;
|
|
}): BaggageFields;
|