import { ITelegramClient } from '../../client.types.js'; import { User } from '../../types/index.js'; /** * Recover your password with a recovery code and log in. * * @returns The authorized user * @throws BadRequestError In case the code is invalid */ export declare function recoverPassword(client: ITelegramClient, params: { /** The recovery code sent via email */ recoveryCode: string; }): Promise;