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