/**
 * Agent discovery and configuration for the subagent delegation extension.
 *
 * Agent definitions are markdown files with YAML frontmatter:
 *
 *   ---
 *   name: my-agent
 *   description: What this agent does
 *   tools: read, grep, find, ls
 *   model: claude-haiku-4-5
 *   ---
 *   System prompt for the agent goes here.
 *
 * Locations:
 *   ~/.spectral/agent/agents/*.md     — User-level (always loaded)
 *   .spectral/agents/*.md             — Project-level (opt-in via agentScope)
 */
export type AgentScope = "user" | "project" | "both";
export interface AgentConfig {
    name: string;
    description: string;
    tools?: string[];
    model?: string;
    systemPrompt: string;
    source: "user" | "project";
    filePath: string;
}
export interface AgentDiscoveryResult {
    agents: AgentConfig[];
    projectAgentsDir: string | null;
}
export declare function discoverAgents(cwd: string, scope: AgentScope): AgentDiscoveryResult;
export declare function formatAgentList(agents: AgentConfig[], maxItems: number): {
    text: string;
    remaining: number;
};
//# sourceMappingURL=agents.d.ts.map