/** * Read/write helpers for Hermes Agent MCP config (`~/.hermes/config.yaml`). * * Hermes stores MCP servers under `mcp_servers.` in YAML. We only * manage the `agenticros` entry — other servers are preserved. */ export interface HermesAgenticrosConfig { configPath: string; exists: boolean; command?: string; args?: string[]; env?: Record; connectTimeout?: number; timeout?: number; enabled?: boolean; } export interface HermesConfigIssue { severity: "red" | "yellow"; message: string; hint?: string; } export interface HermesConfigValidation { ok: boolean; issues: HermesConfigIssue[]; } /** Global Hermes config: `~/.hermes/config.yaml`. */ export declare function globalHermesConfigPath(): string; /** * Build the YAML block for the AgenticROS MCP server. Uses an absolute path * to index.js (required by Hermes stdio transport) and leaves namespace empty * so `~/.agenticros/config.json` / `agenticros mode` drives the active robot. */ export declare function buildAgenticrosMcpYamlBlock(mcpEntryAbs: string, namespace?: string): string; /** Insert or replace the agenticros MCP block, preserving other YAML content. */ export declare function upsertAgenticrosBlock(existingContent: string | null, block: string): string; /** Parse the agenticros MCP section from a Hermes config.yaml file. */ export declare function readHermesAgenticrosConfig(configPath: string): HermesAgenticrosConfig; export declare function writeHermesAgenticrosConfig(configPath: string, mcpEntryAbs: string, options?: { namespace?: string; }): void; /** Validate Hermes agenticros MCP config against expected MCP binary path. */ export declare function validateHermesAgenticrosConfig(cfg: HermesAgenticrosConfig, mcpEntryExpected?: string): HermesConfigValidation; /** Doctor check entries for Hermes MCP config (used by `agenticros doctor`). */ export declare function buildHermesDoctorChecks(mcpEntryExpected: string | undefined): Array<{ id: string; label: string; severity: "green" | "yellow" | "red"; hint?: string; detail?: string; }>; //# sourceMappingURL=hermes-config.d.ts.map