import type { CliCommand, CliContext, CliFlag } from '../context/types.js'; /** Return help data that both terminal and JSON adapters can render. */ export declare const getCommandHelp: (commands: CliCommand[], commandName?: string) => { commands: { description: string; name: string; }[]; description: string | undefined; examples: string[]; flags: CliFlag[]; usage: string; version: string; }; export declare const formatHelp: (help: ReturnType) => string; export declare const showHelpMenu: (context: CliContext, _version: string, commands: CliCommand[], _flags: CliFlag[]) => void;