declare var fs: any;
declare var path: any;
declare var SystemJS: any;
declare var reflect: any;
declare var typescript: any;
declare var path_to_ema_library: any;
declare var classMapping: any;
declare var dir: any;
declare function init(path_to_lib_base: any, packagepath?: string, extension?: string, debug?: boolean): Promise<{}>;
declare function loadLibSytemJS(): Promise<{}>;
declare function initLibRemote(): Promise<void>;
declare function parseClassTree(dir: any, packagepath: any, extension: any): {};
declare function saveClassMapping(): void;
declare function fileList(dir: any): any;
declare function logClassMap(): void;
