1 | /// <reference types="react" />
|
2 | import * as React from 'react';
|
3 | import { RouteProps } from 'react-router-dom';
|
4 | export declare type AfterRenderProps<T> = T & {
|
5 | req: any;
|
6 | res: any;
|
7 | assets: any;
|
8 | routes: Partial<RouteProps>[];
|
9 | document?: React.ComponentType<any>;
|
10 | };
|
11 | export declare function render<T>(options: AfterRenderProps<T>): Promise<string | undefined>;
|