2017-02-15 00:14:40 +00:00
|
|
|
/** @experimental */
|
|
|
|
|
export declare const INITIAL_CONFIG: InjectionToken<PlatformConfig>;
|
|
|
|
|
|
2017-02-15 03:48:48 +00:00
|
|
|
/** @experimental */
|
|
|
|
|
export interface PlatformConfig {
|
|
|
|
|
document?: string;
|
|
|
|
|
url?: string;
|
|
|
|
|
}
|
|
|
|
|
|
2016-07-25 12:47:16 +00:00
|
|
|
/** @experimental */
|
2017-03-24 16:59:41 +00:00
|
|
|
export declare const platformDynamicServer: (extraProviders?: Provider[] | undefined) => PlatformRef;
|
2016-07-25 12:47:16 +00:00
|
|
|
|
|
|
|
|
/** @experimental */
|
2017-03-24 16:59:41 +00:00
|
|
|
export declare const platformServer: (extraProviders?: Provider[] | undefined) => PlatformRef;
|
2016-07-25 12:47:16 +00:00
|
|
|
|
2017-02-15 00:14:40 +00: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 20:44:01 +00:00
|
|
|
/** @experimental */
|
|
|
|
|
export declare class ServerModule {
|
|
|
|
|
}
|
2016-11-30 21:52:08 +00:00
|
|
|
|
|
|
|
|
/** @stable */
|
|
|
|
|
export declare const VERSION: Version;
|