import { FormGroup } from '@angular/forms'; import { GlobalMessageService } from '@spartacus/core'; import { User } from '@spartacus/user/account/root'; import { Title, UserProfileFacade } from '@spartacus/user/profile/root'; import { BehaviorSubject, Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class UpdateProfileComponentService { protected userProfile: UserProfileFacade; protected globalMessageService: GlobalMessageService; constructor(userProfile: UserProfileFacade, globalMessageService: GlobalMessageService); protected user$: Observable; protected busy$: BehaviorSubject; isUpdating$: Observable; titles$: Observable; form: FormGroup; /** * Updates the user's details and handles the UI. */ updateProfile(): void; protected onSuccess(): void; protected onError(_error: Error): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }