/// import { HttpServer, RequestMethod } from '@nestjs/common'; import { IncomingMessage } from 'http'; import { Observable } from 'rxjs'; import { AdditionalHeaders, WritableHeaderStream } from './sse-stream'; export interface CustomHeader { name: string; value: string; } export interface RedirectResponse { url: string; statusCode?: number; } export declare class RouterResponseController { private readonly applicationRef; private readonly logger; constructor(applicationRef: HttpServer); apply(result: TInput, response: TResponse, httpStatusCode?: number): Promise; redirect(resultOrDeferred: TInput, response: TResponse, redirectResponse: RedirectResponse): Promise; render(resultOrDeferred: TInput, response: TResponse, template: string): Promise; transformToResult(resultOrDeferred: any): Promise; getStatusByMethod(requestMethod: RequestMethod): number; setHeaders(response: TResponse, headers: CustomHeader[]): void; setStatus(response: TResponse, statusCode: number): void; sse = any, TResponse extends WritableHeaderStream = any, TRequest extends IncomingMessage = any>(result: TInput, response: TResponse, request: TRequest, options?: { additionalHeaders: AdditionalHeaders; }): void; private assertObservable; }