import { ITelegramClient } from '../../client.types.js';
/**
 * Enable 2FA password on your account
 *
 * Note that if you pass `email`, `EmailUnconfirmedError` may be
 * thrown, and you should use {@link verifyPasswordEmail},
 * {@link resendPasswordEmail} or {@link cancelPasswordEmail},
 * and the call this method again
 */
export declare function enableCloudPassword(client: ITelegramClient, params: {
    /** 2FA password as plaintext */
    password: string;
    /** Hint for the new password */
    hint?: string;
    /** Recovery email */
    email?: string;
}): Promise<void>;
