import { Express } from 'express'; import { BaseEventController, BaseEventControllerOptions } from './BaseEventController'; declare type UtilsControllerOptions = BaseEventControllerOptions; interface MatchActionArgs { text: string; pattern: string; } interface MatchResult { [key: string]: any; } interface AbortActionArgs { case: string; } interface AbortResult { } declare class UtilsController extends BaseEventController { private options; name: string; constructor(options: UtilsControllerOptions); init(app: Express): Promise; action(name: string, args: MatchActionArgs & AbortActionArgs): Promise; matchAction(args: MatchActionArgs): Promise; abortAction(args: AbortActionArgs): Promise; } export { UtilsController, UtilsControllerOptions, };