2017-02-14 19:14:40 -05:00
|
|
|
/** @experimental */
|
|
|
|
export declare const INITIAL_CONFIG: InjectionToken<PlatformConfig>;
|
|
|
|
|
2017-02-14 22:48:48 -05:00
|
|
|
/** @experimental */
|
|
|
|
export interface PlatformConfig {
|
|
|
|
document?: string;
|
|
|
|
url?: string;
|
|
|
|
}
|
|
|
|
|
2016-07-25 08:47:16 -04:00
|
|
|
/** @experimental */
|
2017-03-24 12:59:41 -04:00
|
|
|
export declare const platformDynamicServer: (extraProviders?: Provider[] | undefined) => PlatformRef;
|
2016-07-25 08:47:16 -04:00
|
|
|
|
|
|
|
/** @experimental */
|
2017-03-24 12:59:41 -04:00
|
|
|
export declare const platformServer: (extraProviders?: Provider[] | undefined) => 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 */
|
2017-07-20 17:30:35 -04:00
|
|
|
export declare function renderModule<T>(module: Type<T>, options: {
|
|
|
|
document?: string;
|
|
|
|
url?: string;
|
|
|
|
extraProviders?: Provider[];
|
|
|
|
}): Promise<string>;
|
2017-02-14 19:14:40 -05:00
|
|
|
|
|
|
|
/** @experimental */
|
2017-07-20 17:30:35 -04:00
|
|
|
export declare function renderModuleFactory<T>(moduleFactory: NgModuleFactory<T>, options: {
|
|
|
|
document?: string;
|
|
|
|
url?: string;
|
|
|
|
extraProviders?: Provider[];
|
|
|
|
}): Promise<string>;
|
2017-02-14 19:14:40 -05:00
|
|
|
|
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;
|