import {NgModuleFactory, Provider} from '@angular/core'; import { ApplicationBootstrapper, ApplicationStateReader, ComposedTransition, Postprocessor, VariantsMap, } from './contracts'; import {PrebootQueryable} from './preboot'; import {Route} from '../route'; import {ServerPlatform} from '../platform/platform'; // Extract routes from a compiled and running application instance export interface RouteExtractionOperation { platform: ServerPlatform; moduleFactory: NgModuleFactory; templateDocument: string; } export interface RenderOperation { // This is an HTML document containing the index.html build output of the application. // We inject the rendered content into this document, but it must still contain