/** * Agent registry management. * Ports lib/skills/agent-registry.sh. * * Maintains a registry of available agents and their configurations. * Persisted to ~/.cleo/agent-registry.json. * * @epic T4454 * @task T4518 */ import type { AgentConfig, AgentRegistry, AgentRegistryEntry } from '../types.js'; /** * Get the agent registry file path. * @task T4518 */ export declare function getRegistryPath(): string; /** * Read the agent registry, creating if needed. * @task T4518 */ export declare function readRegistry(): AgentRegistry; /** * Save the agent registry. * @task T4518 */ export declare function saveRegistry(registry: AgentRegistry): void; /** * Register an agent in the registry. * @task T4518 */ export declare function registerAgent(name: string, path: string, config: AgentConfig): AgentRegistryEntry; /** * Unregister an agent from the registry. * @task T4518 */ export declare function unregisterAgent(name: string): boolean; /** * Get an agent from the registry by name. * @task T4518 */ export declare function getAgent(name: string): AgentRegistryEntry | null; /** * List all registered agents. * @task T4518 */ export declare function listAgents(): AgentRegistryEntry[]; /** * Scan the agents/ directory and register all found agents. * @task T4518 */ export declare function syncRegistry(cwd?: string): { added: string[]; removed: string[]; unchanged: string[]; }; //# sourceMappingURL=registry.d.ts.map