import type { DiagnosticSection } from "./_types.js"; export declare function checkEnvironment(): DiagnosticSection; /** Compares dotted versions; returns negative when a < b. */ /** Reads pi's user-level package list (read-only) and verifies the subagent * extension senai depends on: present, new enough, and not shadowed by * dead entries or competing providers. */ export declare function checkSubagentExtension(): DiagnosticSection; /** Leftover helper scripts (tmp_*.sh / tmp_*.ts) in the project root or run * directories — debris from subagent heredoc workarounds. */ export declare function checkStrayFiles(cwd: string): DiagnosticSection; export declare function checkSecretScan(cwd: string): DiagnosticSection;