/** * ModpackOptions Value Object * Represents modpack configuration for MODRINTH and AUTO_CURSEFORGE server types */ export type ModpackSource = 'MODRINTH' | 'CURSEFORGE'; export interface ModpackConfig { version?: string; loader?: string; /** * Partial file names (Modrinth) or project IDs/slugs (CurseForge) of mods to * exclude from the modpack installation. Used to drop client-only mods that * the modpack incorrectly marks as server-compatible and would otherwise * crash a dedicated server. */ excludeFiles?: string[]; } export declare class ModpackOptions { readonly source: ModpackSource; readonly slug: string; readonly version?: string | undefined; readonly loader?: string | undefined; readonly excludeFiles?: string[] | undefined; private constructor(); /** * Create Modrinth modpack options * @param slug - Modrinth modpack slug * @param config - Optional version, loader, and excludeFiles */ static modrinth(slug: string, config?: ModpackConfig): ModpackOptions; /** * Create CurseForge modpack options * @param slug - CurseForge modpack slug * @param config - Optional version, loader, and excludeFiles */ static curseforge(slug: string, config?: ModpackConfig): ModpackOptions; /** * Convert to environment variables for docker-compose */ toEnvVars(): Record; /** * Convert to CLI arguments */ toCliArgs(): string[]; } //# sourceMappingURL=ModpackOptions.d.ts.map