import { UpdateContextType } from './parse.js'; import { BusinessMessageContext } from './business-message.js'; import { CallbackQueryContext, InlineCallbackQueryContext } from './callback-query.js'; import { MessageContext } from './message.js'; /** Update which is dispatched whenever scene is entered or exited */ export declare class SceneTransitionContext { /** Name of the previous scene, if any */ readonly previousScene: string | null; /** Update, handler for which triggered the transition */ readonly update: UpdateContextType; constructor( /** Name of the previous scene, if any */ previousScene: string | null, /** Update, handler for which triggered the transition */ update: UpdateContextType); /** Get {@link update}, asserting it is a message-related update */ get message(): MessageContext; /** Get {@link update}, asserting it is a business message-related update */ get businessMessage(): BusinessMessageContext; /** Get {@link update}, asserting it is a callback query update */ get callbackQuery(): CallbackQueryContext; /** Get {@link update}, asserting it is an inline callback query update */ get inlineCallbackQuery(): InlineCallbackQueryContext; }