export interface AgentDefinition {
    name: string;
    description: string;
    tools: string[];
    systemPrompt: string;
    source: "global" | "project" | "bundled";
}
/**
 * Discover agent definitions from global and project-local directories.
 * Agent files are markdown with frontmatter (similar to skills).
 *
 * Order: user agents (project, global) first → bundled defaults last.
 * The subagent lookup uses Array.prototype.find which matches the first hit,
 * so user agents override bundled when names collide.
 */
export declare function discoverAgents(options: {
    globalAgentsDir: string;
    projectDir?: string;
}): Promise<AgentDefinition[]>;
/**
 * Parse an agent definition file with frontmatter.
 *
 * ```markdown
 * ---
 * name: scout
 * description: Fast codebase recon that returns compressed context
 * tools: read, grep, find, ls, bash
 * ---
 *
 * You are a scout. Quickly investigate a codebase...
 * ```
 */
export declare function parseAgentFile(raw: string, source: "global" | "project"): AgentDefinition;
export declare const BUNDLED_AGENTS: AgentDefinition[];
//# sourceMappingURL=agents.d.ts.map