/** * What the `agency workflow` commands print. Every piece of text that came * from a file goes through `stripControlCharacters`, so a docstring or a * workflow description cannot move the cursor or recolor the terminal. * * Each formatter takes the color function as its last argument. The default, * `ttyColor`, colors on a terminal and prints plain text when the output is * piped. Text that goes into `--json` output passes `plainColor`. Text is * cleaned before it is colored, since cleaning would strip the color codes. */ import type { CatalogEntry } from "../../stdlib/workflow/catalog.js"; import type { StepEffects } from "../../stdlib/workflow/effects.js"; import type { Problem } from "../../stdlib/workflow/types.js"; import { type ColorFunction } from "../../utils/termcolors.js"; /** A heading per module, then each tool's signature, `(handoff)` for an * agent, its description's first paragraph, and what it raises. */ export declare function formatCatalog(entries: CatalogEntry[], paint?: ColorFunction): string; /** `