import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
import { Router } from '@angular/router';
import { AxoSnackBarService } from '../../public-api';
import { AuthService } from '../core/auth/auth.service';
import { UserService } from '../core/user/user.service';
import { AppListDto } from '../../public-api';
import { MyAppListService } from '../app-list/my-app-list.service';
import { OrganizationListDto } from '../../public-api';
import { MatDialog } from '@angular/material/dialog';
import { FlattenService } from '../flatten-module/flatten.service';
import { CommonService } from '../../public-api';
import * as i0 from "@angular/core";
export interface HUser {
    name: string;
    email: string;
    fname?: string;
    lname?: string;
    payment_status?: string;
    trial_end_date?: string;
}
export declare class CommonHeaderComponent implements OnInit {
    private _authService;
    private _changeDetectorRef;
    private _userService;
    private _mpAppListService;
    private _router;
    private _axoSnackBar;
    private dialog;
    private _flattenService;
    private _commonService;
    userCount: number;
    userLimit: number;
    trialEndDate: string;
    payment_status: string;
    appList: Array<AppListDto>;
    baseUrl: string;
    organizationList: Array<OrganizationListDto>;
    selectedOrganization: OrganizationListDto;
    user: HUser;
    listType: string;
    switchAccountEvent: EventEmitter<any>;
    openAppEvent: EventEmitter<any>;
    updateListEvent: EventEmitter<any>;
    userName: string;
    userEmail: string;
    userImage: string;
    version: string;
    appId: string;
    private _unsubscribeAll;
    constructor(_authService: AuthService, _changeDetectorRef: ChangeDetectorRef, _userService: UserService, _mpAppListService: MyAppListService, _router: Router, _axoSnackBar: AxoSnackBarService, dialog: MatDialog, _flattenService: FlattenService, _commonService: CommonService);
    /**
     * Getter for current year
     */
    get currentYear(): number;
    getUserDetails(): void;
    navigatetoOrganiation(): void;
    navigatetoOrganiationSettings(): void;
    navigateToRoute(): void;
    ngOnInit(): void;
    /**
     * Call apps App Version Id route
     *
     * @param appVersionId
     */
    openApp(appVersionId: number): void;
    /**
     * function use to Switch the organization
     */
    switchAccount(organizationId: string): void;
    /**
     * Sign out
     */
    signOut(): void;
    /**
     * Billing
     */
    navigateToBilling(): void;
    /**
     *to create new app
     */
    /**
     * On destroy
     */
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<CommonHeaderComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<CommonHeaderComponent, "app-common-header", never, { "appList": "appList"; "baseUrl": "baseUrl"; "organizationList": "organizationList"; "selectedOrganization": "selectedOrganization"; "user": "user"; "listType": "listType"; }, { "switchAccountEvent": "switchAccountEvent"; "openAppEvent": "openAppEvent"; "updateListEvent": "updateListEvent"; }, never, never>;
}
