import { ITelegramClient } from '../../client.types.js'; import { User } from '../../types/peers/user.js'; /** * Authorize a bot using its token issued by [@BotFather](//t.me/BotFather) * * @param token Bot token issued by BotFather * @returns Bot's {@link User} object * @throws BadRequestError In case the bot token is invalid */ export declare function signInBot(client: ITelegramClient, token: string): Promise;