import type { LongTermMemory } from '../core/types.ts'; export type GoalStatus = 'pending' | 'in_progress' | 'blocked' | 'completed'; export interface Goal { id: string; description: string; issueRef?: string; subGoals: SubGoal[]; status: GoalStatus; createdAt: string; updatedAt: string; } export interface SubGoal { id: string; description: string; workflowId?: string; status: GoalStatus; completedAt?: string; } export declare class GoalChain { private memory; private goals; constructor(memory: LongTermMemory); create(description: string, issueRef?: string): Promise; addSubGoal(goalId: string, subGoal: Omit): Promise; updateStatus(goalId: string, subGoalId: string, status: GoalStatus): Promise; getActive(): Promise; resume(goalId: string): Promise; getGoal(goalId: string): Promise; private saveGoal; private updateIndex; private loadGoals; } //# sourceMappingURL=GoalChain.d.ts.map