2017-09-04 00:38:42 -07:00
|
|
|
export declare const BEFORE_APP_SERIALIZED: InjectionToken<(() => void)[]>;
|
|
|
|
|
|
2017-02-14 16:14:40 -08:00
|
|
|
export declare const INITIAL_CONFIG: InjectionToken<PlatformConfig>;
|
|
|
|
|
|
2017-02-14 19:48:48 -08:00
|
|
|
export interface PlatformConfig {
|
|
|
|
|
document?: string;
|
|
|
|
|
url?: string;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-03 12:33:29 -07:00
|
|
|
export declare const platformDynamicServer: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
2016-07-25 05:47:16 -07:00
|
|
|
|
2017-08-03 12:33:29 -07:00
|
|
|
export declare const platformServer: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
2016-07-25 05:47:16 -07:00
|
|
|
|
2017-02-14 16:14:40 -08:00
|
|
|
export declare class PlatformState {
|
|
|
|
|
constructor(_doc: any);
|
|
|
|
|
getDocument(): any;
|
|
|
|
|
renderToString(): string;
|
|
|
|
|
}
|
|
|
|
|
|
2017-07-20 14:30:35 -07:00
|
|
|
export declare function renderModule<T>(module: Type<T>, options: {
|
|
|
|
|
document?: string;
|
|
|
|
|
url?: string;
|
2017-08-03 12:33:29 -07:00
|
|
|
extraProviders?: StaticProvider[];
|
2017-07-20 14:30:35 -07:00
|
|
|
}): Promise<string>;
|
2017-02-14 16:14:40 -08:00
|
|
|
|
2017-07-20 14:30:35 -07:00
|
|
|
export declare function renderModuleFactory<T>(moduleFactory: NgModuleFactory<T>, options: {
|
|
|
|
|
document?: string;
|
|
|
|
|
url?: string;
|
2017-08-03 12:33:29 -07:00
|
|
|
extraProviders?: StaticProvider[];
|
2017-07-20 14:30:35 -07:00
|
|
|
}): Promise<string>;
|
2017-02-14 16:14:40 -08:00
|
|
|
|
2016-08-15 13:44:01 -07:00
|
|
|
export declare class ServerModule {
|
|
|
|
|
}
|
2016-11-30 13:52:08 -08:00
|
|
|
|
2017-09-11 00:18:55 -07:00
|
|
|
export declare class ServerTransferStateModule {
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-30 13:52:08 -08:00
|
|
|
export declare const VERSION: Version;
|