/** * 交付物管理模块 * 管理 Worker 产生的可交付物(文档、代码、设计等) */ export type DeliverableType = 'document' | 'code' | 'test' | 'config' | 'design' | 'review'; export interface Deliverable { id: string; taskId: string; type: DeliverableType; title: string; content: string; path: string; createdBy: string; createdAt: string; status: 'draft' | 'pending_review' | 'approved' | 'rejected'; reviewComment?: string; } /** * 创建交付物 */ export declare function createDeliverable(taskId: string, type: DeliverableType, title: string, content: string, createdBy: string, basePath?: string): Promise; /** * 获取交付物内容 */ export declare function getDeliverableContent(deliverableId: string, basePath?: string): Promise; /** * 审核交付物 */ export declare function reviewDeliverable(deliverableId: string, approved: boolean, comment?: string, basePath?: string): Promise; /** * 列出任务的所有交付物 */ export declare function listDeliverables(taskId?: string, basePath?: string): Promise; //# sourceMappingURL=deliverable.d.ts.map