import { PluginManifest, CustomSlashCommand, Skill, LspConfig, McpConfig, PartialHookConfiguration } from "../types/index.js"; import { type SubagentConfiguration } from "../utils/subagentParser.js"; export declare class PluginLoader { /** * Load and validate a plugin manifest from a directory * @param pluginPath Absolute path to the plugin directory */ static loadManifest(pluginPath: string): Promise; /** * Load commands from a plugin's commands directory * @param pluginPath Absolute path to the plugin directory */ static loadCommands(pluginPath: string): CustomSlashCommand[]; /** * Load skills from a plugin's skills directory * @param pluginPath Absolute path to the plugin directory */ static loadSkills(pluginPath: string): Promise; /** * Load LSP configuration from a plugin */ static loadLspConfig(pluginPath: string): Promise; /** * Load MCP configuration from a plugin */ static loadMcpConfig(pluginPath: string): Promise; /** * Load hooks configuration from a plugin */ static loadHooksConfig(pluginPath: string): Promise; /** * Load agent configurations from a plugin's agents directory */ static loadAgents(pluginPath: string): Promise; /** * Validate the plugin manifest structure */ private static validateManifest; }