import { type CommandSpec, type Operand, type Option, UsageStyle } from './types.ts'; /** * The bare name of an option's value, declared or derived. * * clap derives one from the long spelling when the author declares no * `value_name`: dashes to underscores, uppercased. Deriving it the same way * means only the options that actually override it have to say so. */ export declare function optionMetavar(opt: Option): string; /** * One operand's slot in a clap usage line. Required slots take angle brackets * and optional ones square, which is the only thing clap's usage line says * about arity besides the trailing ellipsis on a variadic. */ export declare function operandSlot(operand: Operand, ellipsis?: boolean): string; export declare function renderHelp(name: string, spec: CommandSpec, subcommands?: readonly [string, string][], style?: UsageStyle): string; export declare function clapUnexpectedArgument(token: string): string; export declare function clapGroupRefusal(name: string, spec: CommandSpec, subcommands: readonly [string, string][], message: string): string; //# sourceMappingURL=help.d.ts.map