import type { Command } from 'commander'; export declare const CLI_COMMAND_INVENTORY_SCHEMA_VERSION: "nexusclaw.cli-command-inventory/v1"; export interface CliCommandInventoryArgumentV1 { readonly name: string; readonly required: boolean; readonly variadic: boolean; readonly description: string; } export interface CliCommandInventoryOptionV1 { readonly long: string | null; readonly short: string | null; readonly flags: string; readonly required: boolean; readonly optional: boolean; readonly variadic: boolean; readonly negated: boolean; readonly defaultValue: unknown; readonly description: string; readonly inherited: boolean; readonly declaredOnPath: string; } export interface CliCommandInventoryLeafV1 { readonly commandId: string; readonly path: string; readonly aliases: ReadonlyArray; readonly summary: string; readonly arguments: ReadonlyArray; readonly options: ReadonlyArray; } export interface CliCommandInventoryV1 { readonly schemaVersion: typeof CLI_COMMAND_INVENTORY_SCHEMA_VERSION; readonly rootCommand: string; readonly leaves: ReadonlyArray; } export declare function buildCommandInventory(root: Command): CliCommandInventoryV1;