import type { ProxyLogTraceContext } from "../types/index.js";
/** Correlation belongs to the in-flight HTTP request, not to an async callback. */
export declare function registerProxyRequestTraceContext(requestId: string, ids: ProxyLogTraceContext): void;
/** Release once transport and terminal accounting have settled. */
export declare function releaseProxyRequestTraceContext(requestId: string): void;
/** Internal fallback records share their parent request's trace. */
export declare function getProxyRequestTraceContext(requestId: string): ProxyLogTraceContext | undefined;
/** Retain IDs and sampling flags before deferred processing leaves the request. */
export declare function resolveProxyLogTraceContext(record: {
    traceId?: unknown;
    spanId?: unknown;
    traceFlags?: unknown;
    requestId?: unknown;
}): ProxyLogTraceContext | undefined;
/** Populate native OTLP correlation, including valid unsampled contexts. */
export declare function proxyLogContext(record: {
    traceId?: unknown;
    spanId?: unknown;
    traceFlags?: unknown;
    requestId?: unknown;
}): import("@opentelemetry/api").Context;
