import { SwishApp } from "../swish"; import { SwishUi } from "../swish-ui/swish-ui"; import { IntentOptions } from "./intents"; import { Intent, IntentEventBus, IntentResponse, IntentToData } from "./types"; export declare abstract class IntentHandler { protected readonly swish: SwishApp; protected readonly ui: SwishUi; protected readonly eventBus: IntentEventBus; protected readonly options: IntentOptions; constructor(swish: SwishApp, ui: SwishUi, eventBus: IntentEventBus, options: IntentOptions); abstract invoke(data: IntentToData, ...args: any[]): Promise>; }