/**
 * Agent Registry - Manages built-in and custom agent definitions
 */
import type { AgentDefinition } from "../../shared/agent/interfaces/index.js";
export declare class AgentRegistry {
    private static instance;
    private agents;
    private directory;
    private constructor();
    static getInstance(): AgentRegistry;
    setDirectory(dir: string): void;
    /**
     * Get agent definition by name
     */
    getAgent(name: string): AgentDefinition | undefined;
    /**
     * List all available agent names
     */
    listAgents(): string[];
    /**
     * Add or update an agent definition
     */
    registerAgent(name: string, def: AgentDefinition): void;
    /**
     * Load custom agents from .opencode/agents.json
     */
    private loadCustomAgents;
}
