/**
 * Package registry and installation commands.
 *
 * Registers `agents registry`, `agents search`, `agents install`, and
 * `agents packages materialize` for discovering and installing MCP servers,
 * skills, commands, and hooks from configured registries or GitHub sources,
 * and for materializing a schema-v3 agent.yaml package into an ephemeral
 * harness home (PHNX-3838).
 */
import type { Command } from 'commander';
import type { McpPackage } from '../lib/types.js';
import { type McpCommandSpec } from '../lib/mcp.js';
export declare function buildMcpPackageCommand(pkg: McpPackage): McpCommandSpec;
/** Register the `agents registry`, `agents search`, `agents install`, and `agents packages` commands. */
export declare function registerPackagesCommands(program: Command): void;
