import type * as grpcJs from '@grpc/grpc-js'; import { GrpcJsPlugin } from '../grpcJs'; declare type ServerRegisterFunction = typeof grpcJs.Server.prototype.register; /** * Patch for grpc.Server.prototype.register(...) function. Provides auto-instrumentation for * client_stream, server_stream, bidi, unary server handler calls. */ export declare function patchServer(this: GrpcJsPlugin): (originalRegister: ServerRegisterFunction) => ServerRegisterFunction; export {};