import type { StatusReconcileResult } from '../../types/index.js';
export type { StatusReconcileResult } from '../../types/index.js';
/**
 * Scan planu/specs/ on disk and count specs by status.
 * Only counts directories matching the SPEC-\d+ pattern.
 */
export declare function computeSpecCountsFromDisk(projectPath: string): Promise<{
    total: number;
    byStatus: Record<string, number>;
}>;
/**
 * Check if status.json totalSpecs matches actual disk count.
 * If counts differ, recompute byStatus from disk and atomically overwrite status.json
 * via writeJsonSafe (with backup rotation — same primitive used elsewhere in the codebase).
 *
 * Designed to be called fire-and-forget (void the returned Promise from the read path).
 */
export declare function reconcileStatusFromDisk(projectPath: string, projectId?: string): Promise<StatusReconcileResult>;
//# sourceMappingURL=index.d.ts.map