import { Span } from '@opentelemetry/api'; import type { ServerCallWithMeta, SendUnaryDataCallback } from '../types'; import type { GrpcJsPlugin } from '../grpcJs'; import type * as grpcJs from '@grpc/grpc-js'; /** * Handle patching for clientStream and unary type server handlers */ export declare function clientStreamAndUnaryHandler(plugin: GrpcJsPlugin, span: Span, call: ServerCallWithMeta, callback: SendUnaryDataCallback, original: grpcJs.handleUnaryCall | grpcJs.ClientReadableStream): void;