import { IMessage, IMessageEntity, IUpdate, MessageEntityTypes } from '../..'; export declare class Filter { static commandParamsRegExp: RegExp; /** * @param update Update {@link IUpdate} * @return chat id from sent message * */ static getChatId(update: IUpdate): number | string | undefined; /** * @param update Update {@link IUpdate} * @return user id from sent message * */ static getUserId(update: IUpdate): number | undefined; /** * @param update Update {@link IUpdate} * @return message id * */ static getMsgId(update: IUpdate): number | undefined; /** * @param update Update {@link IUpdate} * @return callback query id * */ static getCallbackQueryId(update: IUpdate): string | undefined; /** * @param update Update {@link IUpdate} * @return message from update * */ static getMessage(update: IUpdate): IMessage | undefined; static getPrivateId(update: IUpdate): number | undefined; /** * @param update Update {@link IUpdate} * @param entityType Entity type {@link MessageEntityTypes} * @return entity bot command * */ static getEntity(update: IUpdate, entityType: MessageEntityTypes): IMessageEntity | undefined; /** * @param update Update {@link IUpdate} * @return command params * */ static getCommandParams(update: IUpdate): string[]; }