/** * `peaks retrospective show ` — the show command, hoisted out of * `retrospective-commands.ts` so that file clears the 300 raw-line cap. * * Identical control flow: same project-root resolution, the same * `--pretty` → format ternary, the same `!result.ok` branch first (its * three suggestion checks in the same order with the same texts, then * `process.exitCode = 1`, then `return`), the same success envelope field * order, and the same catch with its own code / suggestion text / exit * code. The suggestion list, the failure `data` object and the success * payload became one-builder-each so the action itself is under * `max-lines-per-function` and `complexity`; the builders are pure and * emit the same bytes. */ import type { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export interface RetrospectiveShowCommandOptions { project?: string; pretty?: boolean; json?: boolean; } export declare function runRetrospectiveShowAction(io: ProgramIO, id: string, options: RetrospectiveShowCommandOptions): void; export declare function registerRetrospectiveShowCommand(retrospective: Command, io: ProgramIO): void;