import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, Renderer2, TemplateRef } from '@angular/core';
import { Title } from '@angular/platform-browser';
import { ActivatedRoute, Router } from '@angular/router';
import { TranslateService } from '@ngx-translate/core';
import { OAuthService } from 'angular-oauth2-oidc';
import { DeviceDetectorService } from 'ngx-device-detector';
import { Subscription } from 'rxjs';
import { PrimeNGConfig } from 'tn-custom-primeng/api';
import { ApplicationContextService } from '../../app-context/application-context.service';
import { ComponentContextService } from '../../app-context/component-context.service';
import { EnumTypeSplash } from '../../enums/common';
import { AuthenService } from '../../services/authen.service';
import { CommonService } from '../../services/common.service';
import { CoreConfigService } from '../../services/core-config.service';
import { CustomizeUiService } from '../../services/customize-ui.service';
import { EntityMetadataService } from '../../services/entity-metadata.service';
import { GlobalService } from '../../services/global.service';
import { MenuService } from '../../services/menu.service';
import { ModuleConfigService } from '../../services/module-config.service';
import { NotifierService } from '../../services/notifier.service';
import { PermissionService } from '../../services/permission.service';
import { SignalRService } from '../../services/signalr.service';
import { StorageUpdatedService } from '../../services/storage-updated.service';
import { StorageService } from '../../services/storage.service';
import { TnClientService } from '../../services/tn-client.service';
import { UserService } from '../../services/user.service';
import { UserOnlineDetailsService } from '../../services/useronlinedetails.service';
import { ReportQueueComponent } from '../report-queue/report-queue.component';
import { TnCustomScrollbarComponent } from '../tn-custom-scrollbar/tn-custom-scrollbar.component';
export declare class CommonAppComponentComponent implements OnInit, AfterViewInit, AfterContentInit, OnDestroy {
    private document;
    _globalService: GlobalService;
    _commonService: CommonService;
    renderer: Renderer2;
    private translate;
    private _oauthService;
    private _authenService;
    private _userService;
    private _router;
    private _title;
    private _signalRService;
    private _storageUpdatedService;
    private _applicationContext;
    _componentContextService: ComponentContextService;
    private _activatedRoute;
    _deviceDetectorService: DeviceDetectorService;
    private _cd;
    private _tnClientService;
    private _coreConfigService;
    protected _notifierService: NotifierService;
    private _entityMetadataService;
    private _moduleConfigService;
    private _menuService;
    private _primengConfig;
    private _storageService;
    private _permissionService;
    private _userOnlineDetailsService;
    private _customizeUiService;
    okButton: ElementRef;
    cancelButton: ElementRef;
    reportQueue: ReportQueueComponent;
    scrollBarMenu: TnCustomScrollbarComponent;
    children: QueryList<TemplateRef<any>>;
    showQuickNote: boolean;
    allowAnonymous: boolean;
    autoRenderMenu: boolean;
    onUserLoaded: EventEmitter<any>;
    private _unsubscribeAll;
    currentRoute: string;
    pageLoaded: boolean;
    firstTimeLogin: boolean;
    showAddNoteForm: boolean;
    pinnedNoteData: any;
    pinnedNotesMinimizeStatus: boolean;
    pinnedNotesMaximizeStatus: any;
    environment: any;
    captureMode: boolean;
    p0: any;
    p1: any;
    loggedIn: boolean;
    subscrible: Subscription;
    onlyShowMainContent: boolean;
    appCode: string;
    searchMenuResult: any[];
    searchMenuInput: string;
    showPinnedMenu: boolean;
    isInPinnedMenu: boolean;
    isSearchMenuInputFocus: boolean;
    menuModel: any;
    waiting: boolean;
    messageWaiting: string[];
    showRejectConfirm: boolean;
    readonly keyPressPermissionUtils = "ppppppppp";
    currentKeyPressIndex: number;
    rootData: any;
    EnumTypeSplash: typeof EnumTypeSplash;
    layoutLoadingPage: string;
    favIcon: HTMLLinkElement;
    icon: string;
    showMenuIconInactive: boolean;
    constructor(document: any, _globalService: GlobalService, _commonService: CommonService, renderer: Renderer2, translate: TranslateService, _oauthService: OAuthService, _authenService: AuthenService, _userService: UserService, _router: Router, _title: Title, _signalRService: SignalRService, _storageUpdatedService: StorageUpdatedService, _applicationContext: ApplicationContextService, _componentContextService: ComponentContextService, _activatedRoute: ActivatedRoute, _deviceDetectorService: DeviceDetectorService, _cd: ChangeDetectorRef, _tnClientService: TnClientService, _coreConfigService: CoreConfigService, _notifierService: NotifierService, _entityMetadataService: EntityMetadataService, _moduleConfigService: ModuleConfigService, _menuService: MenuService, _primengConfig: PrimeNGConfig, _storageService: StorageService, _permissionService: PermissionService, _userOnlineDetailsService: UserOnlineDetailsService, _customizeUiService: CustomizeUiService);
    ngAfterContentInit(): void;
    ngOnInit(): void;
    ngAfterViewInit(): void;
    defaultRedirect(): void;
    detectChanges(): Promise<void>;
    private clearAuthorizeCache;
    focusTrap(event: any, direct: any): void;
    initTinyMce(): void;
    private configureWithNewConfigApi;
    private injectConfig;
    private getConfigAuthen;
    handleMenuActive(top: any): void;
    closeTabWindow(): void;
    getAppSwitcherUrl(appCode: any): any;
    ngOnDestroy(): void;
    onSearchMenu(event: any): void;
    getSearchMenuResult(keyword: any): any[];
    private regroupSearchMenuResult;
    nonAccentVietnamese(str: any): any;
    onSelectMenuSuggestion(menuItemObj: any): void;
    onBlurSearchMenuInput(event: any): void;
    onFocusSearchMenuInput(event: any): void;
    searchIconClick(): void;
    handleShowPopupPermissionUtils(event: KeyboardEvent): void;
    private addGuard;
    processUserHeartBeat(): boolean;
    processBCache(): void;
    private doProcessBCache;
}
//# sourceMappingURL=common-app-component.d.ts.map