import { Context, Session } from 'koishi';
/**
 * 搜索选项接口
 * @interface SearchOptions
 */
interface SearchOptions {
    version?: string;
    loader?: string;
    [key: string]: any;
}
/**
 * 处理模组下载流程
 * @param {Context} ctx - Koishi上下文
 * @param {Session} session - Koishi会话
 * @param {string} platform - 平台名称 ('modrinth' 或 'curseforge')
 * @param {any} project - 项目信息
 * @param {any} config - 配置信息
 * @param {SearchOptions} options - 搜索选项
 * @returns {Promise<string>} 处理结果信息
 */
export declare function handleDownload(ctx: Context, session: Session, platform: string, project: any, config: any, options?: SearchOptions): Promise<"" | "该项目未找到任何版本" | "该项目未找到任何文件" | "已取消下载" | "无效选择" | "获取下载链接失败" | "下载过程中出错">;
export {};
