import type { PublishContext } from 'semantic-release'; import type { CurseForgeRelationConfig, PluginConfig, ReleaseType, Strategy } from './definitions/plugin-config.js'; interface CurseForgeRelation { slug: string; projectId?: string; type: CurseForgeRelationConfig['type']; } export interface CurseForgeMetadata { gameVersions: number[] | undefined; releaseType: ReleaseType; changelog: string; changelogType: 'text' | 'html' | 'markdown'; isMarkedForManualRelease: boolean; relations?: { projects: CurseForgeRelation[]; }; displayName: string; modLoaders: string[]; parentFileID?: number; } /** * Builds the metadata sent with each CurseForge upload. */ export declare function buildCurseForgeMetadata(pluginConfig: PluginConfig, context: PublishContext, strategy: Strategy, curseforgeGameVersionIds: number[] | undefined): CurseForgeMetadata; /** * Publishes files to CurseForge. */ export declare function publishToCurseforge(pluginConfig: PluginConfig, context: PublishContext, strategy: Strategy, curseforgeGameVersionIds?: number[]): Promise; export {}; //# sourceMappingURL=curseforge.d.ts.map