import { Api, TelegramClient } from 'telegram'; import bigInt from 'big-integer'; export declare class ReposterBot { protected client?: TelegramClient; build({ appId, appHash, botToken, botSession, chats, publishChats, }: { appId: number; appHash: string; botToken: string; botSession: string; chats: any[]; publishChats?: string[]; }): Promise<{ error: string; result?: undefined; } | { result: { session: string; client: TelegramClient; bot: Api.User; }; error?: undefined; }>; protected handleRepost({ event, chats, publishChats, }: { chats: any[]; event: any; publishChats?: string[]; }): Promise; protected handlerCallback({ update }: { update: any; }): Promise; protected handlerPublish({ update }: { update: Api.UpdateBotCallbackQuery; }): Promise; protected handlerDelete({ update }: { update: Api.UpdateBotCallbackQuery; }): Promise; protected sendMessage({ message, chats, markup, }: { message: Api.Message; chats: any[]; markup?: any; }): Promise; protected answerCallback({ queryId, message, alert, }: { queryId: bigInt.BigInteger; message: string; alert?: boolean; }): Promise; }