import { type StartPipelineResult } from '../landun/start'; /** * 启动小程序 CI 流水线参数 */ interface StartMpCIPipelineParams { /** 仓库地址 */ repo: string; /** 子项目名称 */ subProject: string; /** 分支名称 */ branch: string; /** 操作员名称 */ staffName: string; /** 是否为微信小程序 */ isWeixin?: boolean; /** 发布原因 */ publishReason?: string; /** MCP 名称 */ mcpName?: string; /** MCP 版本 */ mcpVersion?: string; /** 启动流水线函数 */ startPipeline: (pipelineId: string, data: any) => Promise; /** 操作记录工具 */ operationTool: any; /** MCP 数据库实例 */ mcpDB?: any; /** MCP 工具名称 */ toolName?: string; } /** * 启动小程序 CI 流水线 * @param params - 启动参数 * @returns 执行结果 */ export declare function startMpCIPipeline({ repo: rawRepo, subProject, branch, staffName, isWeixin, publishReason, mcpName, mcpVersion, startPipeline, operationTool, mcpDB, toolName, }: StartMpCIPipelineParams): Promise<{ r: number; msg: string; result?: StartPipelineResult['data']; }>; export {};