import type { Game } from "../../engine/Game"; import type { UI } from "./index"; declare type Command = { name: string; aliases?: string[]; args?: { name: string; required: boolean; }[]; comment: string; handler: (...words: string[]) => void; }; export declare const initChatListeners: (game: Game, ui: UI) => void; export declare const appendMessage: (markdown: string) => void; export declare const appendGameMessage: (markdown: string) => void; export declare const appendErrorMessage: (markdown: string) => void; export declare const registerCommand: ({ name, aliases, args, comment, handler, }: Command) => void; export {};