import { NgZone, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { CaseTab } from '../../domain/case-view/case-tab.model';
import { Activity, DisplayMode } from '../../domain/activity/activity.model';
import { ActivityPollingService } from '../../services/activity/activity.polling.service';
import { Observable, Subscription, Subject } from 'rxjs';
import { CaseField } from '../../domain/definition';
import { OrderService } from '../../services/order';
import { CaseView, CaseViewTrigger } from '../../domain/case-view';
import { AlertService } from '../../services/alert';
import { CallbackErrorsContext } from '../../components/error/domain';
import { DraftService } from '../../services/draft';
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
import { CaseService } from '../case-editor';
export declare class CaseViewerComponent implements OnInit, OnDestroy {
    private ngZone;
    private route;
    private router;
    private orderService;
    private activityPollingService;
    private dialog;
    private alertService;
    private draftService;
    private caseService;
    static readonly ORIGIN_QUERY_PARAM = "origin";
    static readonly TRIGGER_TEXT_START = "Go";
    static readonly TRIGGER_TEXT_CONTINUE = "Ignore Warning and Go";
    hasPrint: boolean;
    hasEventSelector: boolean;
    BANNER: DisplayMode;
    caseDetails: CaseView;
    sortedTabs: CaseTab[];
    caseFields: CaseField[];
    error: any;
    triggerTextStart: string;
    triggerTextIgnoreWarnings: string;
    triggerText: string;
    ignoreWarning: boolean;
    subscription: Subscription;
    dialogConfig: MatDialogConfig;
    callbackErrorsSubject: Subject<any>;
    constructor(ngZone: NgZone, route: ActivatedRoute, router: Router, orderService: OrderService, activityPollingService: ActivityPollingService, dialog: MatDialog, alertService: AlertService, draftService: DraftService, caseService: CaseService);
    ngOnInit(): void;
    isPrintEnabled(): boolean;
    ngOnDestroy(): void;
    postViewActivity(): Observable<Activity[]>;
    clearErrorsAndWarnings(): void;
    applyTrigger(trigger: CaseViewTrigger): Promise<boolean | void>;
    isDataLoaded(): boolean;
    hasTabsPresent(): boolean;
    callbackErrorsNotify(callbackErrorsContext: CallbackErrorsContext): void;
    isDraft(): boolean;
    isTriggerButtonDisabled(): boolean;
    private init;
    private sortTabFieldsAndFilterTabs;
    private getTabFields;
    private initDialog;
    private handleError;
    private hasInvalidData;
    private resetErrors;
}
