export interface SubagentConfiguration { name: string; description: string; tools?: string[]; model?: string; systemPrompt: string; filePath: string; scope: "project" | "user" | "builtin" | "plugin"; priority: number; /** Plugin root directory path, set when scope is "plugin" */ pluginRoot?: string; } /** * Parse a plugin agent markdown file. * Exposed as a public API for PluginLoader to use. */ export declare function parseAgentFile(filePath: string, scope: "plugin", pluginRoot: string): SubagentConfiguration; /** * Load all subagent configurations from project and user directories, plus built-in subagents */ export declare function loadSubagentConfigurations(workdir: string): Promise; /** * Find subagent by exact name match */ export declare function findSubagentByName(name: string, workdir: string): Promise;