/** * Runs work with an optional working directory without changing Node's global * process state. This keeps independent API/MCP requests safe to run together. */ export declare function runWithExecutionCwd(cwd: string | undefined, work: () => T): T; /** The caller-scoped working directory, when one was supplied. */ export declare function getExecutionCwd(): string | undefined; /** The caller-scoped working directory, falling back to the CLI process cwd. */ export declare function getEffectiveCwd(): string;