//#region src/infra/diagnostic-trace-context.d.ts type DiagnosticTraceContext = { /** W3C trace id, 32 lowercase hex chars. */readonly traceId: string; /** Current span id, 16 lowercase hex chars. */ readonly spanId?: string; /** Parent span id, 16 lowercase hex chars. */ readonly parentSpanId?: string; /** W3C trace flags, 2 lowercase hex chars. Defaults to sampled. */ readonly traceFlags?: string; }; type DiagnosticTraceContextInput = Partial & { traceparent?: string; }; declare function isValidDiagnosticTraceId(value: unknown): value is string; declare function isValidDiagnosticSpanId(value: unknown): value is string; declare function isValidDiagnosticTraceFlags(value: unknown): value is string; declare function parseDiagnosticTraceparent(traceparent: string | undefined): DiagnosticTraceContext | undefined; declare function formatDiagnosticTraceparent(context: DiagnosticTraceContext | undefined): string | undefined; declare function createDiagnosticTraceContext(input?: DiagnosticTraceContextInput): DiagnosticTraceContext; declare function createChildDiagnosticTraceContext(parent: DiagnosticTraceContext, input?: Omit): DiagnosticTraceContext; //#endregion export { isValidDiagnosticSpanId as a, parseDiagnosticTraceparent as c, formatDiagnosticTraceparent as i, createChildDiagnosticTraceContext as n, isValidDiagnosticTraceFlags as o, createDiagnosticTraceContext as r, isValidDiagnosticTraceId as s, DiagnosticTraceContext as t };