/** * Help text, rendered from each command's declared specs: the bare entry screen, the grouped command * list, and one command's or subcommand's help. Every renderer reads local metadata only: it never * connects, writes, seeds or imports an extension. */ import { type Command, type Subcommand } from "@cotal-ai/core"; /** The grouped command list. With `all`, hidden commands are included. */ export declare function printCommandList(commands: readonly Command[], all: boolean): void; /** The approved compact entry screen. Its context comes from local records only. */ export declare function printEntry(commands: readonly Command[]): void; /** One command's help, or one subcommand's when `sub` is given: summary, usage, aliases, * subcommands, flags, structured outputs and examples, all from the declared specs. Each line goes * to `out`, which a usage refusal points at stderr, wrapped to `width`; the usage breaks only where * {@link usageLines} allows, and examples are never wrapped, so each stays one line to copy. */ export declare function printCommandHelp(cmd: Command, sub?: Subcommand, out?: (line: string) => void, width?: number): void; /** Resolve only declared literal metadata. Neither aliases nor nesting import provider code. */ export declare function printHelpPath(cmd: Command, words: readonly string[], out?: (line: string) => void, width?: number): void; //# sourceMappingURL=help.d.ts.map