import type { Context as _Context } from '@midwayjs/grpc'; import type { Context } from '../lib/types.js'; export interface GrpcContext extends _Context { /** * @example '/helloworld.Greeter/SayHello' */ path: string; call: object; pendingStatus: { code: number; details: string; }; status?: number; } /** * @returns 'http' | 'grpc' | '' */ export declare function retrieveRequestProtocolFromCtx(ctx: Context | GrpcContext): string;