import { BotReactionCountUpdate, BotReactionUpdate, BotStoppedUpdate, BusinessConnection, ChatJoinRequestUpdate, ChatMemberUpdate, DeleteBusinessMessageUpdate, DeleteMessageUpdate, DeleteStoryUpdate, HistoryReadUpdate, ParsedUpdate, PollUpdate, PollVoteUpdate, StoryUpdate, UserStatusUpdate, UserTypingUpdate } from '@mtcute/core'; import { TelegramClient } from '@mtcute/core/client.js'; import { UpdateContextDistributed } from './base.js'; import { BusinessMessageContext } from './business-message.js'; import { BusinessCallbackQueryContext, CallbackQueryContext, InlineCallbackQueryContext } from './callback-query.js'; import { ChatJoinRequestUpdateContext } from './chat-join-request.js'; import { ChosenInlineResultContext } from './chosen-inline-result.js'; import { InlineQueryContext } from './inline-query.js'; import { MessageContext } from './message.js'; import { PreCheckoutQueryContext } from './pre-checkout-query.js'; export type UpdateContextType = MessageContext | InlineQueryContext | ChosenInlineResultContext | CallbackQueryContext | InlineCallbackQueryContext | BusinessCallbackQueryContext | ChatJoinRequestUpdateContext | PreCheckoutQueryContext | BusinessMessageContext | UpdateContextDistributed; /** @internal */ export declare function _parsedUpdateToContext(client: TelegramClient, update: ParsedUpdate): UpdateContextType;