import { ElementRef, OnDestroy, OnInit } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { TranslateService } from '@ngx-translate/core';
import { ValtimoVersion } from '../../models';
import { ConfigService, EmailNotificationSettings, FeedbackMailTo, UserIdentity, UserSettingsService } from '@valtimo/shared';
import { UserProviderService } from '@valtimo/security';
import { BehaviorSubject, Observable } from 'rxjs';
import { VersionService } from '../version/version.service';
import { CdsThemeService, PageHeaderService, ShellService } from '../../services';
import { ListItem } from 'carbon-components-angular';
import * as i0 from "@angular/core";
export declare class RightSidebarComponent implements OnInit, OnDestroy {
    private readonly translateService;
    private readonly userProviderService;
    private readonly formBuilder;
    private readonly versionService;
    private readonly shellService;
    private readonly elementRef;
    private readonly configService;
    private readonly userSettingsService;
    private readonly pageHeaderService;
    private readonly cdsThemeService;
    onPageClick(targetElement: any): void;
    readonly settingsForm: FormGroup;
    readonly panelExpanded$: Observable<boolean>;
    private readonly _selectedLanguage$;
    private readonly _languageOptions$;
    readonly languageListItems$: Observable<ListItem[]>;
    readonly backendVersion$: Observable<ValtimoVersion>;
    readonly userSubject$: Observable<UserIdentity>;
    readonly updatingSettings$: BehaviorSubject<boolean>;
    readonly updatingUserSettings$: BehaviorSubject<boolean>;
    private readonly _emailNotificationSettings$;
    readonly emailNotificationSettingsWithSideEffects$: Observable<EmailNotificationSettings>;
    readonly collapsibleWidescreenMenu$: Observable<boolean>;
    readonly compactMode$: Observable<boolean>;
    readonly showUserNameInTopBar$: Observable<boolean>;
    private readonly _preferredTheme$;
    frontendVersion: string;
    showValtimoVersions: boolean;
    readonly themeOptions$: Observable<ListItem[]>;
    overrideFeedbackMenuItemToMailTo: FeedbackMailTo;
    allowUserThemeSwitching: boolean;
    enableCompactModeToggle: boolean;
    enableShowUserNameToggle: boolean;
    showPlantATreeButton: boolean;
    resetUrl: string;
    private _hideValtimoVersionsForNonAdmins;
    private readonly _isAdmin$;
    private readonly _subscriptions;
    constructor(translateService: TranslateService, userProviderService: UserProviderService, formBuilder: FormBuilder, versionService: VersionService, shellService: ShellService, elementRef: ElementRef, configService: ConfigService, userSettingsService: UserSettingsService, pageHeaderService: PageHeaderService, cdsThemeService: CdsThemeService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    updateUserLanguage(langKey: string | {
        item?: {
            key?: string;
        };
    }, saveSettings?: boolean): void;
    setCollapsibleWidescreenMenu(collapsible: boolean, saveSettings?: boolean): void;
    setCompactMode(compactMode: boolean, saveSettings?: boolean): void;
    setShowUserName(showUserName: boolean, saveSettings?: boolean): void;
    setPreferredTheme(selectedTheme: string | {
        item?: {
            key?: string;
        };
    }, saveSettings?: boolean): void;
    logout(): void;
    private initSettings;
    private initFrontendVersion;
    private openFormSubscription;
    private loadEmailNotificationSettings;
    private setLanguage;
    private sortObjectAlphabetically;
    private getUserSettings;
    private saveUserSettings;
    private setUserSettings;
    private openShowVersionsSubscription;
    static ɵfac: i0.ɵɵFactoryDeclaration<RightSidebarComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<RightSidebarComponent, "valtimo-right-sidebar", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=right-sidebar.component.d.ts.map