import { Context as TelegrafContext, MiddlewareFn } from 'telegraf'; import { Message } from 'typegram'; import { ReplyToMessageContext } from './identifier'; declare type ConstOrPromise = T | Promise; export default class TelegrafStatelessQuestion { readonly uniqueIdentifier: string; private readonly answer; constructor(uniqueIdentifier: string, answer: (context: ReplyToMessageContext, additionalState: string) => ConstOrPromise); middleware(): MiddlewareFn; messageSuffixHTML(additionalState?: string): string; messageSuffixMarkdown(additionalState?: string): string; messageSuffixMarkdownV2(additionalState?: string): string; replyWithHTML(context: TelegrafContext, text: string, additionalState?: string): Promise; replyWithMarkdown(context: TelegrafContext, text: string, additionalState?: string): Promise; replyWithMarkdownV2(context: TelegrafContext, text: string, additionalState?: string): Promise; } export {};