import { HttpClient } from '@angular/common/http';
import { BehaviorSubject, Observable } from 'rxjs';
import { AppListDto } from './app-list-dto';
import { OrganizationListDto } from './organization-list-dto';
import { CommonLibConfigurationService } from '../common-lib-configuration.service';
import * as i0 from "@angular/core";
export declare class MyAppListService {
    private _httpClient;
    private commonLibConfig;
    appManifest: BehaviorSubject<any | null>;
    userDetails: BehaviorSubject<any | null>;
    private _appList;
    private _userList;
    private appDetailsCache;
    private CACHE_EXPIRY_TIME;
    /**
     * Constructor
     */
    constructor(_httpClient: HttpClient, commonLibConfig: CommonLibConfigurationService);
    /**
     * Getter for App list
     */
    get appList$(): Observable<any>;
    /**
     * Getter for User list
     */
    get userList$(): Observable<any>;
    /**
     * Getter for app manifest
     */
    get appManifest$(): Observable<any>;
    /**
     * Getter for user Details
     */
    get userDetails$(): Observable<any>;
    /**
     * Get App List detail
     *
     * @param currentPage
     * @param pageSize
     * @returns
     */
    getAppList(currentPage: number, pageSize: number, axonatorX1Url: string): Observable<any>;
    /**
     * Switch account of organization from to DB
     *
     * @param organizationId
     * @returns
     */
    switchAccount(organizationId: string, axonatorX1Url: string): Promise<any>;
    addAppBasicInfo(formData: FormData): Observable<any>;
    /**
     * create App list dto object with existing value
     *
     * @param appListDto
     * @returns
     */
    createAppListDtoObject(appListDto: any): Array<AppListDto>;
    /**
     * get app detail from X1 DB
     */
    fetchAppDetails(appVersionId: any, axonatorX1Url: string, forceRefresh?: boolean): Observable<any>;
    /**
     * create Organization List Dto object with existing value
     *
     * @param userListDto
     * @returns
     */
    createOrganizationListDtoObject(organizationListDto: Array<any>): Array<OrganizationListDto>;
    deleteApp(appId: string, appVersion: string): Observable<any>;
    checkIsAppAdmin(userId: string, appVersion: string): Observable<any>;
    checkIsOrganisationAdmin(userId: string, accountId: string): Observable<any>;
    private objectToParams;
    static ɵfac: i0.ɵɵFactoryDeclaration<MyAppListService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<MyAppListService>;
}
