/** * Build the URL for a Maven artifact JAR in a repository. */ export declare function buildMavenArtifactUrl(groupId: string, artifactId: string, version: string, classifier: string | undefined, repoUrl: string): string; /** * Check if a Maven artifact exists in a repository by sending an HTTP HEAD request. * Returns true if the server responds with a 2xx status, false otherwise. */ export declare function artifactExistsInRepo(groupId: string, artifactId: string, version: string, classifier: string | undefined, repoUrl: string, headers?: Record): Promise; export interface IModpackMod { type: 'maven'; artifact: string; repo: string; headers?: Record; } export interface IModpackJson { minecraft: string; neoforge?: string; forge?: string; mods: IModpackMod[]; } /** * Convert a Maven pom.xml (and optional settings.xml) into a modpack.json object. * @param pomXml The contents of the pom.xml file. * @param settingsXml The contents of the settings.xml file, or undefined. * @returns The generated modpack.json object. */ export declare function convertPomToModpack(pomXml: string, settingsXml: string | undefined): Promise;