import type { ActiveRun } from "./types.js"; export interface KdConsistencyIssue { code: string; message: string; } export interface KdConsistencyReport { runId?: string; checkedAt: string; errors: KdConsistencyIssue[]; warnings: KdConsistencyIssue[]; summary: { activeRunFile: "missing" | "invalid" | "present"; runStateFile: "missing" | "invalid" | "present" | "not-checked"; ledgerEvents: number; openBlockingQuestions: number; phase?: string; mode?: string; gatePassed?: boolean; }; } export declare function checkActiveRunConsistency(cwd: string, id?: string): KdConsistencyReport; export declare function checkHarnessConsistency(cwd: string, run: ActiveRun | undefined, input?: { activeState?: ReadJsonResult; activeId?: string; runId?: string; }): KdConsistencyReport; export declare function formatConsistencyReport(report: KdConsistencyReport): string; interface ReadJsonResult { status: "missing" | "invalid" | "present"; value?: Record; error?: string; } export {};