import { Args, Params } from "./units.js"; import { CommandAnalysis } from "./analysis.js"; export type CommandTree = Command | { [key: string]: CommandTree; }; export type CommandOptions = { args: A; params: P; help?: string; extraArgs?: { name: string; help?: string; }; execute?: (analysis: CommandAnalysis>) => Promise; }; export declare class Command { args: A; params: P; help: string | undefined; extraArgs?: { name: string; help?: string; }; execute: (analysis: CommandAnalysis>) => Promise; constructor(o: CommandOptions); }