import type { Context } from "@opentelemetry/api"; import type { OtelApiModule } from "./otel-api.js"; export type InboundTraceSource = "inbound-channel" | "hook.trace" | "hook.traceId" | "traceparent" | "active-context" | "diagnostic-scope" | "new-trace"; export type InboundParentContextResolution = { parentCtx: Context; source: InboundTraceSource; traceId?: string; }; export declare function resolveInboundParentContext(api: OtelApiModule, event?: unknown, hookCtx?: unknown): InboundParentContextResolution;