import { type MinionPackageManifest } from "./manifest.js";
import type { PluginDiagnostic, PluginOrigin } from "./types.js";
export type PluginCandidate = {
    idHint: string;
    source: string;
    rootDir: string;
    origin: PluginOrigin;
    workspaceDir?: string;
    packageName?: string;
    packageVersion?: string;
    packageDescription?: string;
    packageDir?: string;
    packageManifest?: MinionPackageManifest;
};
export type PluginDiscoveryResult = {
    candidates: PluginCandidate[];
    diagnostics: PluginDiagnostic[];
};
export declare function discoverMinionPlugins(params: {
    workspaceDir?: string;
    extraPaths?: string[];
}): PluginDiscoveryResult;
/** @deprecated Use discoverMinionPlugins */
export declare const discoverOpenClawPlugins: typeof discoverMinionPlugins;
