import type { DocHealthReport } from '../../types/index.js';
import type { NoteInfo, SpecInfo } from '../../types/docs.js';
export type { NoteInfo, SpecInfo };
/** Detect specs that are done and had no updates for ARCHIVABLE_DAYS days. */
export declare function detectArchivableSpecs(specs: SpecInfo[]): string[];
/** Detect notes whose specId points to a non-existent spec. */
export declare function detectOrphanNotes(notes: NoteInfo[], specs: SpecInfo[]): string[];
/** Calculate health score 0-100 based on orphan ratio and archivable ratio. */
export declare function calculateHealthScore(totalNotes: number, orphanCount: number, archivableCount: number, totalSpecs: number): number;
/** Generate a DocHealthReport from notes and specs data. */
export declare function generateDocHealthReport(notes: NoteInfo[], specs: SpecInfo[]): DocHealthReport;
//# sourceMappingURL=health.d.ts.map