1 | import { RenderOptions as RenderOptions_2 } from '@nguniversal/common/engine';
|
2 | import type { Request as Request_2 } from 'express';
|
3 | import type { Response as Response_2 } from 'express';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare function ngExpressEngine(setupOptions: Readonly<NgSetupOptions>): (filePath: string, options: object, callback: (err?: Error | null, html?: string) => void) => void;
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | export declare type NgSetupOptions = Pick<RenderOptions_2, 'bootstrap' | 'providers' | 'publicPath' | 'inlineCriticalCss'>;
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare interface RenderOptions extends RenderOptions_2 {
|
19 | req: Request_2;
|
20 | res?: Response_2;
|
21 | }
|
22 |
|
23 | export { }
|