import { type AgentConfig } from "../core/agents-config/config.js"; import { type FilesConfig } from "../core/agents-config/files-config.js"; import { type AgentsFilesConfig } from "../core/agents-config/agents-files-config.js"; import { type SenaiRole } from "../core/agents-config/suggestions.js"; import { type DiagnosticSection, type ResolvedAgent } from "./_types.js"; /** Configuration-file health: validates presence, parse, and version for * the three .pi/senai/ JSON files (agents.json, files.json, * agents_files.json). Emits an error per missing or malformed file, an * OK line per valid one, and a warning per stale schema version. */ export declare function checkConfigFiles(cwd: string, agentConfig: AgentConfig | null, filesConfig: FilesConfig | null, agentsFilesConfig: AgentsFilesConfig | null, filesConfigError: string | null, agentConfigError: string | null, agentsFilesConfigError: string | null): DiagnosticSection; /** Project file scope: walks the three path lists declared in files.json * (codePaths, inputDocuments, testPaths), reports any path that does not * exist on disk, and flags any pair of paths that overlap (folder/file * conflict, equality). */ export declare function checkFileScope(cwd: string, config: FilesConfig): DiagnosticSection; /** Agent document assignments: validates the truth and comparison * documents declared per role in agents_files.json. Checks existence, * flags artifact-driven roles that have been assigned documents by * mistake, verifies that truth documents match the suggestion rules * (mandate overlap for roles the suggestion rules do not cover), and * warns on recommended roles that have no truth document at all. */ export declare function checkAgentsFiles(cwd: string, config: AgentsFilesConfig, filesConfig: FilesConfig | null, resolved: Record): DiagnosticSection;