/** 单个执行计划 */ export interface ExecutionPlan { /** 唯一 ID */ id: string; /** 计划名称 */ name: string; /** 迭代 */ iteration: string; /** 任务列表(按执行顺序) */ tasks: string[]; /** 分批大小 */ batchSize: number; /** 来源:manual=手动创建, auto=自动生成, schedule=调度触发 */ source: 'manual' | 'auto' | 'schedule'; /** 关联的 schedule ID */ scheduleId?: string; /** 筛选条件快照 */ filters: { assignee?: string; type?: string; priority?: string; platform?: string; backend?: boolean; frontend?: boolean; }; /** 创建时间 */ createdAt: string; /** 执行时间(null = 未执行) */ executedAt: string | null; /** 执行结果摘要 */ result: string | null; /** 计划状态 */ status: 'active' | 'completed' | 'cancelled'; } /** 保存新计划 */ export declare function savePlan(plan: Omit): Promise; /** 标记计划已执行 */ export declare function markPlanExecuted(id: string, result: string): Promise; /** 取消计划 */ export declare function cancelPlan(id: string): Promise; /** 查询计划列表 */ export declare function listPlans(iteration?: string, limit?: number): Promise; /** 查询单个计划 */ export declare function getPlan(id: string): Promise; /** 删除计划 */ export declare function deletePlan(id: string): Promise; //# sourceMappingURL=plan-store.d.ts.map