import type { DashboardProjectSummary, DashboardUsageStats, ProjectHealthMetrics } from '../../types/index.js';
/** Parse criteria counts from PROGRESS.md content */
export declare function parseCriteriaFromProgress(content: string): {
    total: number;
    implemented: number;
};
/** Load all projects from data/projects/ */
export declare function loadAllProjects(): Promise<DashboardProjectSummary[]>;
/** Load a single project by its ID */
export declare function loadProject(projectId: string): Promise<DashboardProjectSummary | null>;
/** Compute health metrics for a project */
export declare function computeHealthMetrics(project: DashboardProjectSummary): ProjectHealthMetrics;
/** Read spec markdown files for the detail view */
export declare function loadSpecDetail(projectId: string, specId: string): Promise<{
    hu: string | null;
    ficha: string | null;
    progress: string | null;
}>;
/** Read usage stats from data/global/usage.json (written by SPEC-064) */
export declare function loadUsageStats(): Promise<DashboardUsageStats>;
//# sourceMappingURL=data-loader.d.ts.map