/** * peaks skill search — CLI primitive for S0 of the 4.0.0-beta.5 * peaks-solo dispatcher release. * * * Wired into the existing `peaks skill` group by * `src/cli/commands/core/skill-command.ts` (one import + one call). * The command ALWAYS emits a JSON array on stdout, even on the * no-match case (which exits 0 with `[]` per plan §"Match rules (v1)"). * * Exit codes (locked in plan §"API Contract"): * 0 — success (may be empty array) * 1 — invalid args (Zod validation failure) * 2 — unexpected error (skill pool read fail, etc.) */ import type { Command } from 'commander'; import type { ProgramIO } from '../cli-helpers.js'; /** * Validate the raw CLI flags, call the service, and emit a JSON * envelope on stdout. Errors flow through stderr + non-zero exit * codes per the plan §"API Contract" table. */ export declare function registerSkillSearchCommand(program: Command, io: ProgramIO): void;