## API Report File for "@angular/platform-server" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import { ApplicationRef } from '@angular/core'; import { BootstrapContext } from '@angular/platform-browser'; import { EnvironmentProviders } from '@angular/core'; import * as i0 from '@angular/core'; import * as i1 from '@angular/platform-browser'; import { InjectionToken } from '@angular/core'; import { PlatformRef } from '@angular/core'; import { Provider } from '@angular/core'; import { StaticProvider } from '@angular/core'; import { Type } from '@angular/core'; import { Version } from '@angular/core'; // @public export const BEFORE_APP_SERIALIZED: InjectionToken void | Promise)[]>; // @public export const INITIAL_CONFIG: InjectionToken; // @public export interface PlatformConfig { document?: string; url?: string; } // @public export function platformServer(extraProviders?: StaticProvider[] | undefined): PlatformRef; // @public export class PlatformState { constructor(_doc: any); getDocument(): any; renderToString(): string; // (undocumented) static ɵfac: i0.ɵɵFactoryDeclaration; // (undocumented) static ɵprov: i0.ɵɵInjectableDeclaration; } // @public export function provideServerRendering(options?: { maxResponseBodySize: number; }): EnvironmentProviders; // @public export function renderApplication(bootstrap: (context: BootstrapContext) => Promise, options: { document?: string | Document; url?: string; platformProviders?: Provider[]; allowedHosts?: Readonly[]; }): Promise; // @public export function renderModule(moduleType: Type, options: { document?: string | Document; url?: string; extraProviders?: StaticProvider[]; allowedHosts?: Readonly[]; }): Promise; // @public export const enum RuntimeErrorCode { // (undocumented) DISABLED_DOM_EMULATION_IN_NON_BROWSER = 5704, // (undocumented) GET_COOKIE_NOT_IMPLEMENTED = 5700, // (undocumented) HOST_NOT_ALLOWED = 5706, // (undocumented) INVALID_URL = 5701, // (undocumented) PROTOCOL_RELATIVE_URL_NOT_ALLOWED = 5702, // (undocumented) SUSPICIOUS_URL_CHANGE_ORIGIN = -5703, // (undocumented) XHR_NOT_LOADED = 5705 } // @public export class ServerModule { // (undocumented) static ɵfac: i0.ɵɵFactoryDeclaration; // (undocumented) static ɵinj: i0.ɵɵInjectorDeclaration; // (undocumented) static ɵmod: i0.ɵɵNgModuleDeclaration; } // @public (undocumented) export const VERSION: Version; // (No @packageDocumentation comment for this package) ```