import TelegramBot, { Message } from 'node-telegram-bot-api'; import { Queue } from 'queue-typescript'; import { FlowBot } from '../flow-bot'; export declare class AdminEvents { protected flowBot: FlowBot; protected bot: TelegramBot; protected state: Map; protected fileNames: Map>; constructor(flowBot: FlowBot); adminCommand: (ctx: Message, command: string) => boolean; adminWait: (ctx: Message, waitCommand: string) => boolean; register(): void; updateFlowEvent(ctx: Message): Promise; uploadDataEvent(ctx: Message): Promise; uploadImageEvent(ctx: Message): Promise; getImageData(ctx: Message): Promise<{ filePath: string; fileName: string; }>; getImageName(imageName: string): string; }