/** * Agent configuration management. * Ports lib/skills/agent-config.sh. * * Reads agent definitions from AGENT.md files (YAML frontmatter) * and provides configuration accessors. * * @epic T4454 * @task T4518 */ import type { AgentConfig } from '../types.js'; /** * Get the agents directory path. * @task T4518 */ export declare function getAgentsDir(cwd?: string): string; /** * Parse an AGENT.md file into an AgentConfig. * AGENT.md uses the same YAML frontmatter format as SKILL.md. * @task T4518 */ export declare function parseAgentConfig(agentDir: string): AgentConfig | null; /** * Load agent configuration by name. * Searches in the agents/ directory. * @task T4518 */ export declare function loadAgentConfig(agentName: string, cwd?: string): AgentConfig | null; /** * Get the cleo-subagent configuration (universal executor). * @task T4518 */ export declare function getSubagentConfig(cwd?: string): AgentConfig | null; /** * Check if an agent definition exists. * @task T4518 */ export declare function agentExists(agentName: string, cwd?: string): boolean; //# sourceMappingURL=config.d.ts.map