import type { SprintCloseCheckpointV1 } from '../types'; export declare const CHECKPOINT_DISCOVERY_STATUS: { readonly ABSENT: "absent"; readonly SAFE: "safe"; readonly UNSAFE_PATH: "unsafe-path"; readonly UNREADABLE: "unreadable"; }; export type CheckpointDiscoveryStatus = (typeof CHECKPOINT_DISCOVERY_STATUS)[keyof typeof CHECKPOINT_DISCOVERY_STATUS]; export declare const MANAGED_PATH_LEVEL: { readonly SCOPE_ROOT: "scope-root"; readonly SPRINT: "sprint"; readonly ARCHIVE: "archive"; readonly CHECKPOINT: "checkpoint"; readonly RECORD_DIRECTORY: "record-directory"; }; export type ManagedPathLevel = (typeof MANAGED_PATH_LEVEL)[keyof typeof MANAGED_PATH_LEVEL]; export interface ManagedPathInspection { path: string; level: ManagedPathLevel; status: CheckpointDiscoveryStatus; detail: string; } export interface UsableScopeCheckpoint { path: string; checkpoint: SprintCloseCheckpointV1; } export interface UnusableScopeCheckpoint { path: string; level: ManagedPathLevel; status: string; detail: string; } /** Canonical safety and recovery facts for one scope's checkpoint path. */ export interface ScopeCheckpointSurvey { root: ManagedPathInspection; sprint: ManagedPathInspection; container: ManagedPathInspection; issues: ManagedPathInspection[]; files: string[]; safeFiles: string[]; usable: UsableScopeCheckpoint[]; unusable: UnusableScopeCheckpoint[]; } export declare function surveyScopeCheckpoints(scope: string): ScopeCheckpointSurvey; export declare function inspectManagedDirectory(path: string, level: ManagedPathLevel): ManagedPathInspection; export declare function inspectManagedRegularFile(path: string, level: ManagedPathLevel): ManagedPathInspection; //# sourceMappingURL=discovery.d.ts.map