/** * fit-aux-command-specs — the declarative `fit list` / `fit recipes` / * `fit export` commands (the canonical ` ` grammar). The host mounts * each spec via `mountCommandSpec`; the tool no longer touches Commander. * * The legacy flat-root aliases (`fit-list` / `fit-recipes` / * `fit-baseline-export`) were removed once their deprecation window closed — only * the nested forms remain. * * Output modes: * - `fit list` / `fit recipes` → `command-result`: the handler returns the * list result; the host dispatches it through the shared seam * (`--json` → JSON.stringify, else render). Byte-identical to the former * `if (json) cli.emitJson(result) else cli.render(result)` body, because * `emitJson` and the seam's json arm both write `JSON.stringify(x, null, 2) * + '\n'`. * - `fit export` → `raw-stream`: an explicit file-writing command. The * handler writes the SARIF baseline and prints a one-line confirmation (or an * error), owning its exit-code decision and the `--json` branch itself — the * documented non-Ink exception. The host renders nothing. */ import type { CommandSpec, ToolCliContext } from '@opensip-cli/core'; /** `fit list` — list available fitness checks. */ export declare const fitListGroupedCommandSpec: CommandSpec; /** `fit recipes` — list available fitness recipes. */ export declare const fitRecipesGroupedCommandSpec: CommandSpec; /** * The canonical fit export formats. Single value today (`baseline`) but declared * as a `choices` enum so adding `sarif` later is purely additive (the host * validates the value at mount). * * NOTE on the `baseline` value: fitness's gate baseline is SARIF-shaped, so * `fit export --format baseline` writes a SARIF file. The *format value* names * the artifact ROLE (the gate baseline) — consistent with `graph export * --format baseline` (which writes JSON fingerprints) — not the file syntax. */ export declare const FIT_EXPORT_FORMATS: readonly ["baseline"]; /** * `fitness export --format baseline` — the canonical fitness export command. * defineTool mounts this draft as a subcommand of the canonical primary, and * `fit export` works through the primary alias. It shares the root with * `graph export` without colliding because both declare `name: 'export'`. */ export declare const fitExportCommandSpec: CommandSpec; //# sourceMappingURL=fit-aux-command-specs.d.ts.map