/** * Activity-side and Nexus-handler-side LangSmith interceptors. Both run in the * real Node worker process and install the reconstructed run via `withRunTree` * so a user's unchanged body `traceable` calls nest under it. * * @module */ import type { ActivityInboundCallsInterceptorFactory, NexusInboundCallsInterceptor } from '@temporalio/worker'; import type { EmitterConfig } from './sinks'; /** * Build the activity-inbound interceptor factory. The worker calls the factory * once per activity with that activity's {@link ActivityContext}, from which we * read the activity type for the run name. */ export declare function createActivityInboundInterceptor(config: EmitterConfig): ActivityInboundCallsInterceptorFactory; /** * Build the Nexus-handler interceptor. `startOperation` opens a * `RunStartNexusOperationHandler:` run (so workflows the handler starts nest * under it); `cancelOperation` opens `RunCancelNexusOperationHandler:`. */ export declare function createNexusInboundInterceptor(config: EmitterConfig): NexusInboundCallsInterceptor;