export declare class AuthHandler {
    /** @param {DolphinClient} client */
    constructor(client: any);
    /**
     * Login with email + password.
     * @param {string} email
     * @param {string} password
     */
    login(email: any, password: any): Promise<any>;
    /**
     * Register a new account.
     * @param {{ email: string, password: string, [key: string]: any }} data
     */
    register(data: any): Promise<any>;
    /** Get current user profile. */
    me(): Promise<any>;
    /** Logout and clear token. */
    logout(): Promise<void>;
    /**
     * Manually refresh the access token using the httpOnly refresh-token cookie.
     * Called automatically on 401 if autoRefreshToken is enabled.
     * @returns {Promise<boolean>} — true if refresh succeeded
     */
    refresh(): Promise<boolean>;
    /** @private */
    _silentRefresh(): Promise<boolean>;
    /**
     * Verify a 2FA TOTP code after login.
     * @param {string} code     — 6-digit TOTP code
     * @param {string} [email]  — email (if not already in user)
     */
    verify2FA(code: any, email: any): Promise<any>;
    /**
     * Enable 2FA — returns QR code URL and secret.
     */
    enable2FA(): Promise<any>;
    /**
     * Disable 2FA.
     * @param {string} code — current TOTP code to confirm
     */
    disable2FA(code: any): Promise<any>;
    /**
     * Request a password reset email.
     * @param {string} email
     */
    forgotPassword(email: any): Promise<any>;
    /**
     * Reset password using the token from email.
     * @param {string} token
     * @param {string} newPassword
     */
    resetPassword(token: any, newPassword: any): Promise<any>;
}
