2017-02-14 19:14:40 -05:00
|
|
|
/** @experimental */
|
|
|
|
export declare const INITIAL_CONFIG: InjectionToken<PlatformConfig>;
|
|
|
|
|
2016-07-25 08:47:16 -04:00
|
|
|
/** @experimental */
|
2016-08-30 21:07:40 -04:00
|
|
|
export declare const platformDynamicServer: (extraProviders?: Provider[]) => PlatformRef;
|
2016-07-25 08:47:16 -04:00
|
|
|
|
|
|
|
/** @experimental */
|
2016-08-30 21:07:40 -04:00
|
|
|
export declare const platformServer: (extraProviders?: Provider[]) => PlatformRef;
|
2016-07-25 08:47:16 -04:00
|
|
|
|
2017-02-14 19:14:40 -05:00
|
|
|
/** @experimental */
|
|
|
|
export declare class PlatformState {
|
|
|
|
constructor(_doc: any);
|
|
|
|
getDocument(): any;
|
|
|
|
renderToString(): string;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** @experimental */
|
|
|
|
export declare function renderModule<T>(module: Type<T>, options: PlatformOptions): Promise<string>;
|
|
|
|
|
|
|
|
/** @experimental */
|
|
|
|
export declare function renderModuleFactory<T>(moduleFactory: NgModuleFactory<T>, options: PlatformOptions): Promise<string>;
|
|
|
|
|
2016-08-15 16:44:01 -04:00
|
|
|
/** @experimental */
|
|
|
|
export declare class ServerModule {
|
|
|
|
}
|
2016-11-30 16:52:08 -05:00
|
|
|
|
|
|
|
/** @stable */
|
|
|
|
export declare const VERSION: Version;
|