import { HttpClient } from '@angular/common/http';
import { BehaviorSubject, Observable } from 'rxjs';
import { Dashboard } from './dashboard';
import { CommonService } from '../common.service';
import * as i0 from "@angular/core";
export declare class DashboardListService {
    private _httpClient;
    private commonSerive;
    _dashboardId: BehaviorSubject<number | null>;
    _dashboard: BehaviorSubject<Dashboard | null>;
    private dashboardList;
    userId: number;
    /**
     * Constructor
     */
    constructor(_httpClient: HttpClient, commonSerive: CommonService);
    /**
     * Getter for dashboards
     */
    get dashboardsList$(): Observable<Dashboard[]>;
    getDashboardList(appVersionId: number): Observable<Dashboard[]>;
    getDashboardData(appVersionId: number): Promise<any>;
    createDashboard(dashboard: Dashboard): Promise<any>;
    deleteDashboard(dashboardId: number): Promise<any>;
    saveDashboardPermissions(payload: any): Observable<any>;
    getUserDashboardPermissions(userId: number, appId: number): Observable<{
        dashboards: number[];
        reportElements: number[];
    }>;
    static ɵfac: i0.ɵɵFactoryDeclaration<DashboardListService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<DashboardListService>;
}
