## API Report File for "@angular/ssr_node"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import { ApplicationRef } from '@angular/core';
import type { Http2ServerRequest } from 'node:http2';
import type { Http2ServerResponse } from 'node:http2';
import type { IncomingMessage } from 'node:http';
import type { ServerResponse } from 'node:http';
import { StaticProvider } from '@angular/core';
import { Type } from '@angular/core';

// @public
export class AngularNodeAppEngine {
    handle(request: IncomingMessage | Http2ServerRequest, requestContext?: unknown): Promise<Response | null>;
}

// @public
export class CommonEngine {
    constructor(options?: CommonEngineOptions | undefined);
    render(opts: CommonEngineRenderOptions): Promise<string>;
}

// @public (undocumented)
export interface CommonEngineOptions {
    bootstrap?: Type<{}> | (() => Promise<ApplicationRef>);
    enablePerformanceProfiler?: boolean;
    providers?: StaticProvider[];
}

// @public (undocumented)
export interface CommonEngineRenderOptions {
    bootstrap?: Type<{}> | (() => Promise<ApplicationRef>);
    // (undocumented)
    document?: string;
    // (undocumented)
    documentFilePath?: string;
    inlineCriticalCss?: boolean;
    providers?: StaticProvider[];
    publicPath?: string;
    // (undocumented)
    url?: string;
}

// @public
export function createNodeRequestHandler<T extends NodeRequestHandlerFunction>(handler: T): T;

// @public
export function createWebRequestFromNodeRequest(nodeRequest: IncomingMessage | Http2ServerRequest): Request;

// @public
export function isMainModule(url: string): boolean;

// @public
export type NodeRequestHandlerFunction = (req: IncomingMessage, res: ServerResponse, next: (err?: unknown) => void) => Promise<void> | void;

// @public
export function writeResponseToNodeResponse(source: Response, destination: ServerResponse | Http2ServerResponse): Promise<void>;

// (No @packageDocumentation comment for this package)

```
