import type { CheckResult, KyroProjectState, SprintFile } from '../types'; export declare const SCOPE_RETIREMENT_KIND: "scope-retirement"; export declare const SCOPE_RETIREMENT_SCHEMA_VERSION: 1; export interface ScopeRetirementRequest { scope: string; reason: string; supersededBy: string | null; } export interface ScopeRetirementObserved { sprintDigest: string; projectDigest: string; archiveDigest: string; } export interface ScopeRetirementPreparation { request: ScopeRetirementRequest; currentStatus: string; planDigest: string; checkpointPath: string; affectedFiles: string[]; validations: string[]; observed: ScopeRetirementObserved; alreadyApplied: boolean; } interface ScopeRetirementDigests { beforeSprint: string; afterSprint: string; beforeProject: string; afterProject: string; archive: string; } export interface ScopeRetirementCheckpointV1 { schemaVersion: 1; kind: typeof SCOPE_RETIREMENT_KIND; checkpointId: string; createdAt: string; request: ScopeRetirementRequest & { planDigest: string; }; approval: { decision: 'approved'; mechanism: 'human-confirmed-cli-yes'; approvedPlanDigest: string; identityVerified: false; }; beforeSprint: SprintFile; afterSprint: SprintFile; beforeProject: KyroProjectState; afterProject: KyroProjectState; digests: ScopeRetirementDigests; commitment: string; } export interface ScopeRetirementApplyResult { checkpointPath: string; checkpointId: string; planDigest: string; resumed: boolean; } export declare function scopeRetirementCheckpointPath(scope: string): string; export declare function buildScopeRetirementPreparation(request: ScopeRetirementRequest): ScopeRetirementPreparation; export declare function applyScopeRetirement(request: ScopeRetirementRequest, approvedDigest: string): ScopeRetirementApplyResult; export declare function readScopeRetirementCheckpoint(scope: string): ScopeRetirementCheckpointV1 | null; export declare function validateScopeRetirementCheckpoint(value: unknown, path: string): string[]; export declare function inspectScopeRetirement(scope: string): CheckResult[]; export declare function retirementCheckpointIsApplied(scope: string): boolean; export declare function archiveFingerprint(scope: string): string; export {}; //# sourceMappingURL=scope-retirement.d.ts.map