import { SystemjsConfigFile } from "@gongt/ts-stl-client/jspm/defines"; import { JspmPackagePassing } from "@gongt/ts-stl-client/jspm/jspm-package-passing"; import { Application } from "express-serve-static-core"; import { HtmlContainer, IContainerPlugin } from "../middlewares/html-render"; import { IExpressProvide } from "../middlewares/well-known-provider"; export interface JspmConstructOptions { packageName: string; packageJsonFile: string; debug: boolean; } export declare class JspmPackagePlugin implements IContainerPlugin, IExpressProvide { protected _opts: Partial; protected pacakgeJson: any; protected jspmCfg: SystemjsConfigFile; protected clientSource: string; readonly packageName: string; protected extraConfig: JspmPackagePassing; readonly rootPath: string; protected alertTimeout: any; protected alertChecked: boolean; protected node_modules: string[]; private ieCompatible; constructor(options?: Partial); ignoreIE(): void; readonly baseUrl: string; readonly basePath: string; readonly absBasePath: string; readonly configFile: string; readonly configUrl: string; readonly packageFolder: string; private _clientPathOverwrite; readonly clientPath: string; readonly clientUrl: string; readonly packageUrl: string; jspmConfig(): JspmPackagePassing; clientCodeLocation(path: string, sourcePath?: string): void; protected ensureStaticUnique(reg: any, url: string, path: string): boolean; __express_provide(app: Application): void; protected expressPrepend(app: Application): void; protected mountCurrentClient(app: Application): void; protected mountJspmSpecial(app: Application): void; addNodeModulesLayer(path: string): void; protected mountBasic(app: Application): void; __modify_html(html: HtmlContainer, options: Partial): void; getHtmlResult(options?: Partial): string; readonly systemJsUrl: string; private getScriptContent(options); } export interface JspmHtmlConfig { packageName: string; } export declare function loadSystemjsConfigFile(configFile: string): SystemjsConfigFile; export declare function loadSystemjsConfigFileMultiParts(configFile: string): SystemjsConfigFile[];