import type { PluginManifest, PluginRegistration, PluginModule } from '../../types/index.js';
/**
 * Returns the plugins directory path, honoring PLANU_PLUGINS_DIR env var.
 */
export declare function getPluginsDir(projectPath: string): string;
/**
 * Discovers plugins in the plugins directory.
 * Reads plugin.json from each subdirectory and validates the manifest.
 * Returns PluginRegistration[] with state 'installed' or 'error'.
 */
export declare function discoverPlugins(projectPath: string): Promise<PluginRegistration[]>;
/**
 * Dynamically imports a plugin's entry point module.
 * Returns the module's exports or throws on failure.
 */
export declare function loadPluginModule(projectPath: string, manifest: PluginManifest): Promise<PluginModule>;
//# sourceMappingURL=loader.d.ts.map