import type { TraceContext } from '@crewx/sdk'; /** * Read cross-process trace context from inherited environment variables. * * This is the ONLY place in the CLI that reads CREWX_PARENT_TASK_ID / * CREWX_TRACE_ID / CREWX_CALLER_AGENT_ID. The values are passed as * options.trace into crewx.query/execute so the SDK's ALS takes over * from there — no direct env reads inside SDK code. * * Returns undefined when none of the three vars are set (root invocation). */ export declare function readInheritedTrace(): TraceContext | undefined;