import { Configuration, FetchCompleteContext, XhrCompleteContext } from '@cloudsnorkel/datadog-browser-core'; export interface TracingResult { spanId: TraceIdentifier; traceId: TraceIdentifier; } export interface Tracer { traceFetch: (context: Partial) => TracingResult | undefined; traceXhr: (context: Partial, xhr: XMLHttpRequest) => TracingResult | undefined; } export declare function startTracer(configuration: Configuration): Tracer; export declare function isTracingSupported(): boolean; export declare class TraceIdentifier { private buffer; constructor(); toString(radix: number): string; /** * Format used everywhere except the trace intake */ toDecimalString(): string; private readInt32; }