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

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

```ts

import { DefaultExport } from '@angular/router';
import { EnvironmentProviders } from '@angular/core';
import { Provider } from '@angular/core';
import { Type } from '@angular/core';

// @public
export class AngularAppEngine {
    handle(request: Request, requestContext?: unknown): Promise<Response | null>;
    static ɵallowStaticRouteRender: boolean;
    static ɵhooks: Hooks;
}

// @public
export function createRequestHandler(handler: RequestHandlerFunction): RequestHandlerFunction;

// @public
export enum PrerenderFallback {
    Client = 1,
    None = 2,
    Server = 0
}

// @public @deprecated
export function provideServerRoutesConfig(routes: ServerRoute[], options?: ServerRoutesConfigOptions): EnvironmentProviders;

// @public
export function provideServerRouting(routes: ServerRoute[], ...features: ServerRoutesFeature<ServerRoutesFeatureKind>[]): EnvironmentProviders;

// @public
export enum RenderMode {
    Client = 1,
    Prerender = 2,
    Server = 0
}

// @public
export type RequestHandlerFunction = (request: Request) => Promise<Response | null> | null | Response;

// @public
export type ServerRoute = ServerRouteClient | ServerRoutePrerender | ServerRoutePrerenderWithParams | ServerRouteServer;

// @public
export interface ServerRouteClient extends ServerRouteCommon {
    renderMode: RenderMode.Client;
}

// @public
export interface ServerRouteCommon {
    headers?: Record<string, string>;
    path: string;
    status?: number;
}

// @public
export interface ServerRoutePrerender extends Omit<ServerRouteCommon, 'status'> {
    fallback?: never;
    renderMode: RenderMode.Prerender;
}

// @public
export interface ServerRoutePrerenderWithParams extends Omit<ServerRoutePrerender, 'fallback'> {
    fallback?: PrerenderFallback;
    getPrerenderParams: () => Promise<Record<string, string>[]>;
}

// @public @deprecated
export interface ServerRoutesConfigOptions {
    appShellRoute?: string;
}

// @public
export interface ServerRouteServer extends ServerRouteCommon {
    renderMode: RenderMode.Server;
}

// @public
export function withAppShell(component: Type<unknown> | (() => Promise<Type<unknown> | DefaultExport<Type<unknown>>>)): ServerRoutesFeature<ServerRoutesFeatureKind.AppShell>;

// (No @packageDocumentation comment for this package)

```
