/** * @author Luuxis * @license CC-BY-NC 4.0 - https://creativecommons.org/licenses/by-nc/4.0/ */ /// import { EventEmitter } from 'events'; export default class ForgeMC extends EventEmitter { options: any; constructor(options?: {}); downloadInstaller(Loader: any): Promise<{ error: string; filePath?: undefined; metaData?: undefined; ext?: undefined; id?: undefined; } | { filePath: string; metaData: any; ext: String; id: string; error?: undefined; }>; extractProfile(pathInstaller: any): Promise; extractUniversalJar(profile: any, pathInstaller: any): Promise; downloadLibraries(profile: any, skipForgeFilter: any): Promise; patchForge(profile: any): Promise; createProfile(id: any, pathInstaller: any): Promise; }