import { type PluginManifest } from '../types/plugin/index.js';
/**
 * Scans a directory for subdirectories containing a plugin manifest.
 * Returns an array of absolute paths to plugin directories.
 */
export declare function discoverPlugins(parentDir: string): Promise<string[]>;
/**
 * Reads and validates a plugin manifest from a plugin directory.
 * Throws on invalid manifest (fail fast).
 */
export declare function loadPluginManifest(pluginDir: string): Promise<PluginManifest>;
/**
 * Discovers plugin directories from both project-level and user-level locations.
 * Returns categorized arrays of absolute paths.
 */
export declare function discoverAllPluginDirs(workingDirectory?: string): Promise<{
    project: string[];
    user: string[];
}>;
//# sourceMappingURL=loader.d.ts.map