import { HttpClient } from '@angular/common/http';
import { EventEmitter } from '@angular/core';
import { Dashboard } from './dashboard';
import { Observable } from 'rxjs';
import { AxElement } from '../enlighten-lib/elements/ax-element';
import { CommonService } from '../common.service';
import { ActivatedRoute } from '@angular/router';
import { DashboardListService } from './dashboard-list.service';
import * as i0 from "@angular/core";
export declare class DashboardBuilderService {
    private _httpClient;
    private commonSerive;
    private _activatedRoute;
    private _dashboardListService;
    deleteElement: EventEmitter<any>;
    private _dashboard;
    userId: number;
    appVersionId: any;
    /**
     * Constructor
     */
    constructor(_httpClient: HttpClient, commonSerive: CommonService, _activatedRoute: ActivatedRoute, _dashboardListService: DashboardListService);
    /**
     * Getter for dashboards
     */
    get dashboard$(): Observable<Dashboard>;
    /**
     * Get dashboard details
     */
    getDashboard(dashboardId: number): Promise<any>;
    saveDashboard(data: Dashboard): Promise<any>;
    deleteDashboardElement(item: AxElement): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<DashboardBuilderService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<DashboardBuilderService>;
}
