import { ForgeVersion, MinecraftVersion } from "./Versions"; import { ClientOptions, LaunchOptions } from "../app"; import { MinecraftArtifact, Rule, Arguments } from "./Manifests"; import { AuthenticationResult } from "./Authentication"; import { InstallationProgress } from "./InstallationProgress"; export declare class LibraryManager { options: ClientOptions; version: MinecraftVersion; mainClass: string; arguments: Arguments; versionType: string; assetIndex: string; classpath: string[]; constructor(options: ClientOptions, version: MinecraftVersion); installMinecraftLibraries(progress: InstallationProgress): Promise; installForgeLibraries(version: ForgeVersion, progress: InstallationProgress): Promise; unpackNatives(version: MinecraftVersion): Promise; getClasspath(): string; getJavaArguments(nativeDir: string, launchOptions: LaunchOptions): string[]; getLaunchArguments(auth: AuthenticationResult, launchOptions: LaunchOptions): string[]; } export declare type MinecraftLibrary = { name: string; downloads: { artifact: MinecraftArtifact; classifiers?: { "natives-osx"?: MinecraftArtifact; "natives-linux"?: MinecraftArtifact; "natives-windows"?: MinecraftArtifact; }; }; extract?: { exclude?: [string]; }; natives?: { linux: "natives-linux"; osx: "natives-osx"; windows: "natives-windows"; }; rules?: [Rule]; };