import { CommandInstance } from '../../../commands'; import { TelegramSendMessageParams } from '../../../types'; import { MessageContext, CallbackQueryContext, IncomingMessageContext } from '../../../migrated'; export declare class CommandContext extends IncomingMessageContext { message?: MessageContext; callbackQuery?: CallbackQueryContext; send(text: string, params?: Partial): Promise; send(params: Omit): Promise; redirect(command: CommandInstance, args?: Record): Promise; redirectToBack(): Promise; }