import { type SprintCloseTransaction } from '../checkpoints/sprint-close'; import type { OperationPlan, SprintCloseCheckpointV1, SprintFile } from '../types'; /** * Deterministic, lossless scope close. The TOOL — not the agent — owns the destructive step. * * Guarantee: an immutable full-scope checkpoint is published before any mutable state changes. * The legacy ActiveSprint snapshot remains available for compatible readers. A matching checkpoint * makes retries idempotent; conflicting content or divergent live state is never overwritten. * * The agent still owns additive judgment work (conventions and debt extraction). The CLI owns the * checkpoint, narrative, compatible snapshot, and compare-and-swap live-state transition. */ export interface CloseSprintArgs { scope: string | null; outcome: string; outcomeExplicit: boolean; note: string | null; summary: string | null; recommendations: string[]; learnings: string[]; dryRun: boolean; yes: boolean; help: boolean; } export declare function runCloseSprintCommand(rawArgs: string[]): Promise; export declare function buildClosePlan(scope: string, args: CloseSprintArgs): { sprint: SprintFile; plan: OperationPlan[]; snapshotPath: string; checkpointPath: string; transaction: SprintCloseTransaction; }; export declare function compareCheckpointRecency(left: SprintCloseCheckpointV1, right: SprintCloseCheckpointV1): number; //# sourceMappingURL=close-sprint.d.ts.map