import type { CapabilityRegistry } from "../types/index.js"; import type { StateReader, HealthStatus } from "./types.js"; export type HealthCheckEntry = { category: string; name: string; status: HealthStatus; path?: string; }; export type RepositoryHealthResult = { status: "ready" | "degraded"; checks: HealthCheckEntry[]; summary: { pass: number; warn: number; fail: number; }; }; export declare class RepositoryHealth { private reader; private capabilityRegistry; constructor(reader: StateReader, capabilityRegistry: CapabilityRegistry); _fileCheck(filePath: string): Promise; _dirCheck(dirPath: string, minFiles?: number): Promise; check(): Promise; }