/** The document server rendering renders into, in the server output. */ export declare const INDEX_SERVER_HTML = "index.server.html"; /** The document served for client-rendered routes, in the server output. */ export declare const INDEX_CSR_HTML = "index.csr.html"; /** * The app manifest's critical CSS fields for `@angular/ssr` >= 22.2, in the * server output. */ export declare const CRITICAL_CSS_FILE = "critical-css.json"; interface ServerAsset { text: () => Promise; } /** * Builds the `assets` table of the Angular app manifest from the build * output. The esbuild application builder inlines these assets into the * server output at build time; here only directory listings and file stats * are read when the server process starts and contents are read lazily, so a * restarted process always serves the current build output and rebuilds never * have to invalidate the SSR entry module (whose injected code would * otherwise embed stale index contents under output hashing). * * The index documents come from the server output. Top-level stylesheets of * the browser output are included only when `inlineCriticalCss` is set: the * inliner of `@angular/ssr` < 22.2, which fetches them by file name, is their * only consumer. * * This module is bundled into the user's server bundle, so it must only * import node builtins. */ export declare function createServerAssets(serverOutputPath: string, browserOutputPath: string, inlineCriticalCss: boolean): Record; /** * Reads the `criticalCssPlans` and `nonce` app manifest fields, which * `@angular/ssr` >= 22.2 inlines critical CSS with. */ export declare function readCriticalCss(serverOutputPath: string): { criticalCssPlans?: unknown[]; nonce?: string; }; export {}; //# sourceMappingURL=server-assets.d.ts.map