import vorpal from "vorpal"; import { Plugin } from "../../handlers"; import { MethodDecorator } from "../types"; export interface CliCommandOptionInformation { usage: string; description?: string; } export interface CliCommandInformation extends CliCommandOptionInformation { options?: CliCommandOptionInformation[]; } export interface PluginRegisteredCliCommandInfo { handler: (args: vorpal.Args) => Promise; command: CliCommandInformation; } export declare function CliCommand(command: CliCommandInformation): MethodDecorator<(args: vorpal.Args) => Promise>; export declare function getPluginCliCommands(pluginCtr: typeof Plugin | Plugin): PluginRegisteredCliCommandInfo[];