import { BotController, Update } from "./_internals.js"; export declare class BotEventListener { type?: "poll" | "message" | "edited_message" | "chosen_inline_result" | "inline_query" | "callback_query" | "shipping_query" | "pre_checkout_query"; command?: string; filters: Array | ((value: T, bot: BotController) => boolean | PromiseLike)>; callback(data: T, bot: BotController): void | PromiseLike; constructor(type?: "poll" | "message" | "edited_message" | "chosen_inline_result" | "inline_query" | "callback_query" | "shipping_query" | "pre_checkout_query", callback?: (data: any, bot: BotController) => void | PromiseLike, ...filters: Array | ((data: any, bot: BotController) => boolean | PromiseLike)>); getContentFromUpdate(update: Update): T | undefined; passEvent(update: Update, bot: BotController): Promise; }