import { StaticProvider, ApplicationConfig, Type, Provider } from '@angular/core'; import { ServerRequest, ServerResponse, ServerContext } from '@analogjs/router/tokens'; declare function provideServerContext({ req, res, }: { req: ServerRequest; res: ServerResponse; }): StaticProvider[]; declare function injectStaticProps(): Record; declare function injectStaticOutputs(): { set(data: T): void; }; declare function serverComponentRequest(serverContext: ServerContext): string | undefined; declare function renderServerComponent(url: string, serverContext: ServerContext, config?: ApplicationConfig): Promise; /** * Returns a function that accepts the navigation URL, * the root HTML, and server context. * * @param rootComponent * @param config * @param platformProviders * @returns Promise */ declare function render(rootComponent: Type, config: ApplicationConfig, platformProviders?: Provider[]): (url: string, document: string, serverContext: ServerContext) => Promise; export { injectStaticOutputs, injectStaticProps, provideServerContext, render, renderServerComponent, serverComponentRequest };