/** * MCP infrastructure diagnostic checks for the doctor command. * * Covers: Node.js version, mcp-providers.json, token store, encryption key, * and MCP port availability. * * All checks are read-only and non-destructive. Each returns a DoctorCheck * and must never throw — errors are caught and surfaced as fail/warn results. */ import { DoctorCheck } from './types.js'; export { checkMcpDaemon, checkGitLabApi, checkAtlassianApi, TokenInfo, } from './mcp-service-checks.js'; /** * Check Node.js version meets the >=20.0.0 requirement for MCP features. */ export declare function checkNodeVersion(): DoctorCheck; /** * Check ~/.padua/mcp-providers.json exists and contains valid JSON. */ export declare function checkMcpConfig(): DoctorCheck; /** * Check ~/.padua/tokens.db exists and can be opened by better-sqlite3. * Missing file is a warn (created on first login); corrupt file is a fail. */ export declare function checkTokenStore(): DoctorCheck; /** * Check if the AES-256-GCM encryption key source is available. * Currently only validates the env var path; keychain integration is future work. */ export declare function checkEncryptionKey(): DoctorCheck; /** * Check if the MCP port (default 8919) is available or owned by the daemon. * Uses net.createServer to probe availability; reads the PID file to * determine whether an existing listener is the MCP daemon. */ export declare function checkMcpPort(port?: number): Promise; /** * Read Bedrock enable/disable state from process.env and return a DoctorCheck. * * Reports: * - pass/message "enabled (profile: ..., region: ...)" when all 8 vars set * - warn when some but not all vars set (drift) * - pass/message "disabled" when no vars set */ export declare function checkBedrockStatus(): DoctorCheck; //# sourceMappingURL=mcp-checks.d.ts.map