import type { Command, Option, Argument } from "commander"; /** Best-effort placeholder for absolute, environment-dependent paths (home dir, cwd, tmp). */ export declare function normalizeVolatile(text: string): string; export interface OptionSurface { readonly flags: string; readonly description: string; readonly defaultValue: string; readonly choices: readonly string[] | null; readonly required: boolean; readonly mandatory: boolean; readonly negate: boolean; readonly variadic: boolean; readonly envVar: string | null; } export interface ArgumentSurface { readonly name: string; readonly description: string; readonly required: boolean; readonly variadic: boolean; readonly defaultValue: string; readonly choices: readonly string[] | null; } export interface CommandSurface { readonly path: string; readonly aliases: readonly string[]; readonly description: string; readonly arguments: readonly ArgumentSurface[]; readonly options: readonly OptionSurface[]; } export declare function describeOption(o: Option): OptionSurface; export declare function describeArgument(a: Argument): ArgumentSurface; /** Walks the ENTIRE command tree recursively (subcommands of subcommands included, e.g. `mission target add`). */ export declare function walk(cmd: Command, path: string): CommandSurface[];