import { ExecutionContext } from '@nestjs/common'; import { Type } from '@nestjs/common/interfaces'; import { ContextType, HttpArgumentsHost, RpcArgumentsHost, WsArgumentsHost } from '@nestjs/common/interfaces/features/arguments-host.interface'; export declare class ExecutionContextHost implements ExecutionContext { private readonly args; private readonly constructorRef; private readonly handler; private contextType; constructor(args: any[], constructorRef?: Type, handler?: Function); setType(type: TContext): void; getType(): TContext; getClass(): Type; getHandler(): Function; getArgs = any[]>(): T; getArgByIndex(index: number): T; switchToRpc(): RpcArgumentsHost; switchToHttp(): HttpArgumentsHost; switchToWs(): WsArgumentsHost; }