import { Tracer } from 'opentracing'; import { ServiceContext } from '../worker/runtime/typings'; export declare const addTracingMiddleware: (tracer: Tracer) => (ctx: ServiceContext, next: () => Promise) => Promise; export declare const nameSpanOperationMiddleware: (operationType: string, operationName: string) => (ctx: ServiceContext, next: () => Promise) => Promise; export declare const traceUserLandRemainingPipelineMiddleware: () => (ctx: ServiceContext, next: () => Promise) => Promise;