import type { CommandName } from "./commands"; import type { CommandContext } from "./types"; export type CommandHandler = (context: CommandContext, argv: string[]) => Promise; export type RunnableCommandName = Exclude; export declare function runRegisteredCommand(command: RunnableCommandName, context: CommandContext, argv: string[]): Promise;