import type { AgentActivityItem, CreateMissionInput, CreateReviewCommentInput, MissionDetails, MissionDiff, MissionReviewComment } from "./mission-types.js"; import type { SessionRegistry } from "./session-registry.js"; import type { StructuredSessionManager } from "./structured-session-manager.js"; import type { WandStorage } from "./storage.js"; import type { ProcessEvent } from "./types.js"; /** * Deep task-orchestration module. Callers create missions and review diffs * without coordinating session/worktree/storage details. */ export declare class Missions { private readonly storage; private readonly structured; private readonly sessions; constructor(storage: WandStorage, structured: StructuredSessionManager, sessions: SessionRegistry); list(): MissionDetails[]; get(id: string): MissionDetails | null; create(input: CreateMissionInput): MissionDetails; ingest(event: ProcessEvent): void; inbox(): AgentActivityItem[]; markInboxRead(sessionId?: string): void; diff(missionId: string, attemptId: string): MissionDiff; addReviewComment(missionId: string, attemptId: string, input: CreateReviewCommentInput): MissionReviewComment; sendReview(missionId: string, attemptId: string, commentIds?: string[]): MissionReviewComment[]; resolveReview(missionId: string, attemptId: string, commentIds: string[]): MissionReviewComment[]; archive(id: string): MissionDetails; private dispatchAttempt; private details; private getIncludingArchived; private requireAttempt; private refreshMissionStatus; }