import { Span } from '@opentelemetry/api'; import type * as grpcJs from '@grpc/grpc-js'; import type { GrpcJsPlugin } from '../grpcJs'; import { GrpcEmitter } from '../types'; /** * Handle patching for serverStream and Bidi type server handlers */ export declare function serverStreamAndBidiHandler(plugin: GrpcJsPlugin, span: Span, call: GrpcEmitter, original: grpcJs.handleBidiStreamingCall | grpcJs.handleServerStreamingCall): void;