import type { CommandIO, CommandResult } from './io.js'; /** * `cadence explain [concept]` — in-CLI concept help (phase 64). * * Prints curated, terminal-sized explanations of CADENCE's core concepts so a * user can learn the model without leaving the terminal or depending on the * `docs/` tree being shipped with the package. Content is **embedded** here * (distilled from `docs/concepts.md`), never read from disk at runtime, so it * works identically from any install. `explain.test.ts` AC-5 guards that every * advertised concept keeps non-empty content — the in-repo analog of the * `commands.md` drift guard. * * Relocated from `cli/commands/explain.ts` into `services/explain.ts` (phase * 221 T3) so `mcp/tools.ts` can import it directly. Pure relocation — CLI * behavior, output text, flags, and exit codes are unchanged. */ /** A single explainable concept: a one-line list blurb + the full body text. */ export interface Concept { /** One-line summary shown in the discovery list. */ blurb: string; /** The full explanation printed for `cadence explain `. */ body: string; } /** * The canonical concept registry. Keys are the canonical names advertised in * the list; aliases resolve to these via {@link ALIASES}. */ export declare const CONCEPTS: Record; /** * Run the explain command. Pure over its `io` sink (no process access, no file * I/O), so the same path serves the CLI and tests. */ export declare function runExplain(args: { concept?: string; }, io: CommandIO): CommandResult; //# sourceMappingURL=explain.d.ts.map