/** * Match inbound *text* messages to keyword commands (case-insensitive). */ export type CommandHandler = (ctx: Ctx) => void | Promise; export declare class CommandRouter { private commands; private _fallback; command(aliases: string | string[], handler: CommandHandler): this; fallback(handler: CommandHandler): this; dispatch(text: string | undefined | null, ctx: Ctx): Promise; } //# sourceMappingURL=command_router.d.ts.map