/** * Rainbow 配置查询参数 */ interface RainbowConfigParams { /** 研发平台项目 ID */ rdProjectId?: string; /** 项目名称 */ projectName?: string; /** 子项目名称 */ subProject: string; } /** * Rainbow 配置项 */ interface RainbowConfigItem { /** Rainbow Key */ rainbowKey: string; /** 研发平台项目 ID */ rdProjectId?: string; /** 子项目名称 */ subProject?: string; [key: string]: any; } /** * 获取小程序 CI 通用配置 * @returns 通用配置对象 */ export declare function getMpCICommonConfig(): Promise; /** * 获取 Rainbow 配置 * @param params - 查询参数 * @returns Rainbow 配置项列表 */ export declare function getRainbowConfig({ rdProjectId, projectName, subProject, }: RainbowConfigParams): Promise; /** * 更新小程序 CI 配置 * @param value - 配置值 * @param key - 配置 Key */ export declare function updateMpCiConfig(value: unknown, key: string): Promise; /** * 获取所有小程序流水线实例 * @returns 微信和 QQ 小程序流水线实例 */ export declare function getAllMpPipeline(): Promise<{ wxInstances: { templateId: string; versionName: string; version: number; pipelineId: string; pipelineName: string; updateTime: number; hasPermission: boolean; status: string; }[]; qqInstances: { templateId: string; versionName: string; version: number; pipelineId: string; pipelineName: string; updateTime: number; hasPermission: boolean; status: string; }[]; }>; /** * 获取指定 Key 的小程序 CI 配置 * @param key - 配置 Key * @returns 配置值 */ export declare function getMpCIKeyConfig(key: string): Promise; export {};