import { Component, ComponentAPI } from '@ayanaware/bento'; import { Message } from 'eris'; import { PossiblyTranslatable } from '../interfaces/Translatable'; export declare type PromptHandler = (response: string, message?: Message) => Promise; declare type CloseHandler = (reason?: PossiblyTranslatable) => Promise; export declare class PromptManager implements Component { name: string; api: ComponentAPI; private readonly prompts; onUnload(): Promise; hasPrompt(channelId: string, userId: string): boolean; addPrompt(channelId: string, userId: string, handler: PromptHandler, close?: CloseHandler): Promise; removePrompt(channelId: string, userId: string): Promise; closePrompt(channelId: string, userId: string, reason?: PossiblyTranslatable): Promise; handleResponse(channelId: string, userId: string, response: string, message?: Message): Promise; private handleMessage; } export {};