export type PonySchemaRecordType = "config" | "instructions" | "inbox" | "task" | "doc"; export interface PonySchemaViolation { file: string; record_type: PonySchemaRecordType; code: string; field: Array; message: string; details: Record; } export interface PonySchemaDiagnostic extends PonySchemaViolation { severity: "warning"; } export interface PonyDoctorReport { report_version: 1; valid: boolean; project_root: string | null; checked_files: number; invalid_files: number; violations: PonySchemaViolation[]; diagnostics: PonySchemaDiagnostic[]; } /** * Validate every canonical Pony file independently so one malformed record * never hides later violations that an agent can repair in the same pass. */ export declare function createPonyDoctorReport(cwd?: string): Promise; export declare function formatPonyDoctorReport(report: PonyDoctorReport): string; //# sourceMappingURL=doctor.d.ts.map