import { OnInit } from '@angular/core';
import { ActivatedRoute, Params } from '@angular/router';
import { ClrLoadingState } from '@clr/angular';
import { ComponentModel, ComponentService, ErrorHandlerService, ErrorRecord, NavigationService, OnTaurusModelError, OnTaurusModelInit, RouterService, TaurusBaseComponent, ToastService } from '@versatiledatakit/shared';
import { ModalOptions } from '../../shared/model';
import { DataJobDeployment, DataJobExecution, DataJobExecutions, DataPipelinesConfig } from '../../model';
import { DataJobsApiService, DataJobsService } from '../../services';
import * as i0 from "@angular/core";
export declare class DataJobPageComponent extends TaurusBaseComponent implements OnInit, OnTaurusModelInit, OnTaurusModelError {
    private readonly routerService;
    private readonly dataJobsService;
    private readonly dataJobsApiService;
    private readonly toastService;
    private readonly errorHandlerService;
    readonly dataPipelinesModuleConfig: DataPipelinesConfig;
    readonly uuid = "DataJobPageComponent";
    teamName: string;
    jobName: string;
    isDataJobRunning: boolean;
    cancelDataJobDisabled: boolean;
    queryParams: Params;
    isSubpageNavigation: boolean;
    isJobAvailable: boolean;
    isJobEditable: boolean;
    isExecuteJobAllowed: boolean;
    isDownloadJobKeyAllowed: boolean;
    areJobExecutionsLoaded: boolean;
    loadingInProgress: boolean;
    jobExecutions: DataJobExecutions;
    jobDeployments: DataJobDeployment[];
    deleteButtonsState: ClrLoadingState;
    executeButtonsState: ClrLoadingState;
    downloadButtonsState: ClrLoadingState;
    stopButtonsState: ClrLoadingState;
    deleteOptions: ModalOptions;
    executeNowOptions: ModalOptions;
    cancelNowOptions: ModalOptions;
    private _nonExistingJobMsgShowed;
    constructor(componentService: ComponentService, navigationService: NavigationService, activatedRoute: ActivatedRoute, routerService: RouterService, dataJobsService: DataJobsService, dataJobsApiService: DataJobsApiService, toastService: ToastService, errorHandlerService: ErrorHandlerService, dataPipelinesModuleConfig: DataPipelinesConfig);
    /**
     * ** Navigate back leveraging provided router config.
     */
    doNavigateBack($event?: MouseEvent): void;
    /**
     * ** Returns if execution is in progress.
     */
    isExecutionInProgress(): boolean;
    /**
     * ** Show confirmation dialog for Job execution.
     */
    executeJob(): void;
    /**
     * ** On User confirm continue with Job execution.
     */
    confirmExecuteJob(): void;
    /**
     * ** Download Job key.
     */
    downloadJobKey(): void;
    /**
     * ** Show confirmation dialog for Job Remove (Delete).
     */
    removeJob(): void;
    /**
     * ** On User confirm continue with Job Remove (Delete).
     */
    confirmRemoveJob(): void;
    confirmCancelDataJob(): void;
    /**
     * ** Show confirmation dialog for Job execution cancellation.
     */
    cancelExecution(): void;
    lastExecution(): DataJobExecution;
    isJobWithRunningStatus(): boolean;
    /**
     * @inheritDoc
     */
    onModelInit(): void;
    /**
     * @inheritDoc
     */
    onModelError(model: ComponentModel, _task: string, newErrorRecords: ErrorRecord[]): void;
    private _initialize;
    private _subscribeForImplicitTeam;
    private _subscribeForTeamChange;
    private _subscribeForExecutionsChange;
    private _subscribeForExecutionIdChange;
    private _loadJobDetails;
    private _loadJobExecutions;
    private _replaceRunningExecutionAndNotify;
    private _submitOperationStarted;
    private _submitOperationEnded;
    private _extractJobDeployment;
    private _showMessageJobNotExist;
    static ɵfac: i0.ɵɵFactoryDeclaration<DataJobPageComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<DataJobPageComponent, "lib-data-job-page", never, {}, {}, never, never>;
}
