export interface TaskState { id: string; name: string; type: string; status: 'pending' | 'in_progress' | 'completed' | 'archived'; assignee: string; dependencies: string[]; priority: 'high' | 'medium' | 'low'; progress: number; startDate?: string; endDate?: string; /** 所属端(子任务级别) */ platform?: string; /** 父任务 ID(子任务才有) */ parentTaskId?: string; } export interface IterationState { name: string; status: string; startDate: string; endDate: string; tasks: TaskState[]; completionRate: number; } export declare function readProjectGraph(iteration: string): Promise; export declare function scanTasks(iteration: string): Promise; export declare function calculateCompletionRate(tasks: TaskState[]): number; export declare function buildDependencyGraph(tasks: TaskState[]): Map; export declare function topologicalSort(tasks: TaskState[]): TaskState[]; //# sourceMappingURL=state.d.ts.map