/** * `peaks smoke define` — bulk-register critical paths from a list or a JSON file. * * Extracted VERBATIM from `smoke-commands.ts` (job strict-remediation-abc, * slice c1-eslint-family-sweep, leaf c4w1-cli-b) so the registration file * clears the 300-line cap and the `max-lines-per-function` / `complexity` * findings that sat on the commander action arrow fell with it. The description * text, option surface, predicate order (INVALID_INPUT first, then paths-list * branch, then from-file branch with its try/catch → INVALID_FILE), the * `{ projectRoot, registered, total }` ok-payload and the hint line * `Run \`peaks smoke run\` to record the next regression run.` are the code that * was already there. Nothing here swallows anything; the try/catch still owns * only the read+JSON.parse of the from-file branch and still returns from the * caller's action with the INVALID_FILE envelope. */ import type { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export declare function registerSmokeDefine(smoke: Command, io: ProgramIO): void;