import { type Context, type SpanContext } from "@opentelemetry/api"; import { type ReadableSpan } from "@opentelemetry/sdk-trace-base"; export declare const TRACESTATE_SW_KEY = "sw"; export declare const TRACESTATE_TRACE_OPTIONS_RESPONSE_KEY = "xtrace_options_response"; export declare const EQUALS_W3C = "####"; export declare const COMMA_W3C = "...."; export interface TraceOptions { header: string; signature?: string; triggerTrace?: boolean; timestamp?: number; swKeys?: string; custom: Record; ignored: [string, string | undefined][]; } export declare function getTraceOptions(context: Context): TraceOptions | undefined; export declare function setTraceOptions(context: Context, traceOptions: TraceOptions): Context; export declare function swValue(spanContext: SpanContext): string; export declare function traceParent(spanContext: SpanContext): string; export declare function parentSpanContext(span: ReadableSpan): SpanContext | undefined; export declare function isEntrySpan(span: ReadableSpan): boolean; export declare function setTransactionName(context: Context, name: string): boolean; export declare function waitUntilReady(timeout: number): number; //# sourceMappingURL=context.d.ts.map