/** * peaks perf-audit * CLI surface — independent performance audit skill * driver. Per slice v2.12.0 (Group A, Tier 3). Symmetric to * `security-audit-commands.ts`. * * Subcommands: * - `peaks perf-audit detect` — JSON envelope describing the * 5-state perf-audit runtime (ready / handoff-missing / * template-missing / dispatch-failed / envelope-malformed). * - `peaks perf-audit run` — runs the full pipeline: * detect → read handoff + template → write audit artifact to * `.peaks/_runtime//audit/perf-.md`. Reads the * envelope JSON from --envelope file or stdin. * * The actual LLM-in-loop judgement is NOT in this CLI — the parent * LLM (peaks-perf-audit skill prompt) is the judgement core. * This CLI is the I/O + validation shell, mirroring the ecc-bridge * pattern (slice 7 Group D). */ import type { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export declare function registerPerfAuditCommands(program: Command, io: ProgramIO): void;