/** * Presentation of Effect CLI's built-in output. * * `--help`, `--version`, a parent command invoked without a subcommand, and * the help shown for a usage error all reach the process as strings on the * console the application provides. AXM's formatter makes each of them a * machine document (see `formatter.ts`); this module reads that document back * and presents it through the Screen, so the styling and width of built-in * output are the Screen's per-stream decisions like every other document's. * Machine mode writes the document as it was formatted. Console text that is * not a formatter document is not a built-in and passes through as written. */ import * as Effect from "effect/Effect"; import type { CliError } from "effect/cli"; import { type OutputFormat } from "./cli-runtime/index.js"; import { Screen, type OutputWriteFailed } from "./screen/index.js"; export declare const presentBuiltInOutput: (output: string, options: { /** The parser's help request, when the invocation ended in one. */ readonly helpRequest: CliError.ShowHelp | undefined; readonly format: OutputFormat; }) => Effect.Effect; //# sourceMappingURL=built-in-output.d.ts.map