import { CommandSocket } from "../command-socket/command-socket"; import { CommandStructureInCommandSet, CommandNameInCommandSet, CommandSetStructure } from "../schema/command/command-set-structure"; import { IfAny } from "../util/any-types"; import { CommandStructureParameterType, CommandStructureReturnType } from "../schema/command/command-structure"; import { CommandExecutableFunction } from "../schema/command/command-executable-function"; import { Command } from "../schema/command/command"; export declare class CommandRegistry { private commandMap; constructor(); protected static normalizeCommand(command: Command>): CommandExecutableFunction>; addCommand>(commandName: CommandName, command: Command>): void; hasCommand(command: string): boolean; getCommand>(command: CommandName): IfAny | undefined, CommandExecutableFunction>>; execute>(commandName: CommandName, params: CommandStructureParameterType>, context: CommandSocket): Promise>>>; }