/**
 * Plugin management commands.
 *
 * Registers the `agents plugins` command tree for listing, viewing,
 * syncing, and removing plugin bundles (skills + hooks + permissions)
 * stored in ~/.agents/plugins/.
 */
import type { Command } from 'commander';
import { type PluginCapabilities } from '../lib/plugins/plugins.js';
export declare function shouldRefusePluginInstall(capabilities: PluginCapabilities, allowExecSurfaces: boolean): boolean;
/** Register the `agents plugins` command tree. */
export declare function registerPluginsCommands(program: Command): void;
interface MarketplaceRow {
    name: string;
    source: string;
    plugins: number;
    enabled: number;
}
/**
 * Build one row per discovered marketplace. `plugins` counts plugin manifests
 * under the marketplace's source pluginsRoot; `enabled` counts entries in the
 * default Claude version's settings.json#enabledPlugins keyed on @<marketplace>.
 */
export declare function collectMarketplaceRows(): MarketplaceRow[];
/** Per-category color for a plugin resource breakdown (shared with `agents inspect`). */
export declare const PLUGIN_GROUP_COLORS: Record<string, (s: string) => string>;
export {};
