/** * 启动流水线参数 */ interface StartPipelineParams { /** 流水线参数数据 */ data: Record; /** 流水线 ID */ pipelineId: string; /** 用户名 */ userName?: string; /** 项目 ID */ projectId?: string; } /** * 启动流水线返回结果 */ export interface StartPipelineResult { /** 状态 */ status: number; /** 错误消息 */ message?: string; /** 返回数据 */ data: { /** 构建 ID */ id: string; /** 流水线 ID */ pipelineId: string; /** 项目 ID */ projectId: string; /** 构建编号 */ num: number; /** 执行次数 */ executeCount: number; }; } /** * 通过原始 API 启动蓝盾流水线 * @param params - 启动参数 * @returns 流水线执行结果 */ export declare function startPipelineByRawApi({ data, pipelineId, userName, projectId: pId, }: StartPipelineParams): Promise; export {};