import { Observable } from 'rxjs';
import { Title, User, UserSignUp } from '../../../model/misc.model';
import { UserAdapter } from './user.adapter';
export declare class UserConnector {
    protected adapter: UserAdapter;
    constructor(adapter: UserAdapter);
    get(userId: string): Observable<User>;
    update(username: string, user: User): Observable<{}>;
    /**
     * @deprecated since 3.2, use `UserProfileConnector` from `@spartacus/user` package
     */
    register(user: UserSignUp): Observable<User>;
    /**
     * @deprecated since 3.2, use `UserProfileConnector` from `@spartacus/user` package
     */
    registerGuest(guid: string, password: string): Observable<User>;
    /**
     * @deprecated since 3.2, use `UserProfileConnector` from `@spartacus/user` package
     */
    requestForgotPasswordEmail(userEmailAddress: string): Observable<{}>;
    /**
     * @deprecated since 3.2, use `UserProfileConnector` from `@spartacus/user` package
     */
    resetPassword(token: string, newPassword: string): Observable<{}>;
    /**
     * @deprecated since 3.2, use `UserProfileConnector` from `@spartacus/user` package
     */
    updateEmail(userId: string, currentPassword: string, newUserId: string): Observable<{}>;
    /**
     * @deprecated since 3.2, use `UserProfileConnector` from `@spartacus/user` package
     */
    updatePassword(userId: string, oldPassword: string, newPassword: string): Observable<{}>;
    /**
     * @deprecated since 3.2, use `UserProfileConnector` from `@spartacus/user` package
     */
    remove(userId: string): Observable<{}>;
    /**
     * @deprecated since 3.2, use `UserProfileConnector` from `@spartacus/user` package
     */
    getTitles(): Observable<Title[]>;
}
