import { OnInit } from '@angular/core';
import { FormControl, FormGroup } from '@angular/forms';
import { MatDialog } from '@angular/material/dialog';
import { DashboardListService } from '../dashboard-list.service';
import { SelectDashboardsDialogService } from './show-dashboards.service';
import { MatSnackBar } from '@angular/material/snack-bar';
import { AxElement } from '../../enlighten-lib/elements/ax-element';
import { DashboardDto } from '../../common-dto/dashboard-dto';
import { Router } from '@angular/router';
import { AxFilter } from '../../enlighten-lib/filters/ax-filter';
import { FilterCategory } from '../../enlighten-lib/filters/filter-category';
import { AxoSnackBarService } from '../../axo-snack-bar/axo-snack-bar.service';
import * as i0 from "@angular/core";
export interface ISendToDashboardData {
    appVersionId: number;
    element?: AxElement;
    filter?: AxFilter;
    filterCategory?: FilterCategory;
    type: string;
}
export declare class SelectDashboardsDialogComponent implements OnInit {
    private _dashboardListService;
    private _showDashboardComponentService;
    private _snackBar;
    private _axoSnackBar;
    dialog: MatDialog;
    data: ISendToDashboardData;
    private router;
    dashboards: any[];
    showDashboard: boolean;
    createDashboard: boolean;
    options: FormGroup;
    dashboardId: number;
    appVersionId: string;
    elements: Array<AxElement>;
    dashboardDto: DashboardDto;
    dashboardName: FormControl;
    isDashboardNameEmpty: boolean;
    private _unsubscribeAll;
    constructor(_dashboardListService: DashboardListService, _showDashboardComponentService: SelectDashboardsDialogService, _snackBar: MatSnackBar, _axoSnackBar: AxoSnackBarService, dialog: MatDialog, data: ISendToDashboardData, router: Router);
    ngOnInit(): void;
    showDashboardList(): void;
    createDashboardList(): void;
    onNoClick(): void;
    onDashboardClick(dashboardId: number): void;
    pinToDashboard(): Promise<void>;
    getErrorMessage(): string;
    /**
     *
     * @param message
     */
    openSnackBar(message: string): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<SelectDashboardsDialogComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<SelectDashboardsDialogComponent, "lib-show-dashboards", never, {}, {}, never, never>;
}
