UNPKG

@jss-rule-engine/chat

Version:

10 lines (9 loc) 377 B
import { CommandExecutionContext } from "./types"; export interface IChatActionCommand { execute(context: CommandExecutionContext): Promise<void>; } export declare class ChatActionFactory { private registeredActions; registerAction(commandName: string, action: new () => IChatActionCommand): void; getAction(commandName: string): IChatActionCommand; }