import type { CLIConfig, OptionRecord } from "./types"; /** Options that control help rendering (future use). */ export interface HelpRenderOptions { width?: number; } /** * Render top-level help text for the provided CLI configuration. * * This function is intentionally simple and deterministic so snapshots can be * used in tests. Presentation responsibilities (format variants) are moved to * the dedicated `@clibu/help` package; this kept copy remains as a fallback * for tests and internal tooling. */ export declare function renderHelp(cfg: CLIConfig): string; /** Render an OPTIONS block for the provided option record. */ export declare function renderOptions(options?: OptionRecord): string; /** * Render help for a specific command path including subcommands and options. * * The function filters inherited global options when a command overrides them * or sets `inheritGlobal: false`. */ export declare function renderCommandHelp(cfg: CLIConfig, path: string[]): string;