import { NgZone, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRoute, Navigation, Router } from '@angular/router';
import { Observable, Subscription } from 'rxjs';
import { Activity, CaseEventData, CaseEventTrigger, CaseView, DisplayMode } from '../../../domain';
import { CaseReferencePipe } from '../../../pipes';
import { ActivityPollingService, AlertService, LoadingService, SessionStorageService } from '../../../services';
import { CaseNotifier, CasesService } from '../../case-editor';
import { EventTriggerResolver } from '../services';
import * as i0 from "@angular/core";
export declare class CaseEventTriggerComponent implements OnInit, OnDestroy {
    private readonly ngZone;
    private readonly casesService;
    private readonly caseNotifier;
    private readonly router;
    private readonly alertService;
    private readonly route;
    private readonly caseReferencePipe;
    private readonly activityPollingService;
    private readonly sessionStorageService;
    private readonly loadingService;
    private eventTriggerResolver;
    static readonly EVENT_COMPLETION_MESSAGE = "Case #%CASEREFERENCE% has been updated with event: %NAME%";
    static readonly CALLBACK_FAILED_MESSAGE = " but the callback service cannot be completed";
    BANNER: DisplayMode;
    eventTrigger: CaseEventTrigger;
    caseDetails: CaseView;
    activitySubscription: Subscription;
    caseSubscription: Subscription;
    parentUrl: string;
    routerCurrentNavigation: Navigation;
    constructor(ngZone: NgZone, casesService: CasesService, caseNotifier: CaseNotifier, router: Router, alertService: AlertService, route: ActivatedRoute, caseReferencePipe: CaseReferencePipe, activityPollingService: ActivityPollingService, sessionStorageService: SessionStorageService, loadingService: LoadingService, eventTriggerResolver: EventTriggerResolver);
    ngOnInit(): void;
    ngOnDestroy(): void;
    postEditActivity(): Observable<Activity[]>;
    submit(): (sanitizedEditForm: CaseEventData) => Observable<object>;
    validate(): (sanitizedEditForm: CaseEventData, pageId: string) => Observable<object>;
    submitted(event: any): void;
    private getNavigationUrl;
    cancel(): Promise<boolean>;
    isDataLoaded(): boolean;
    static ɵfac: i0.ɵɵFactoryDeclaration<CaseEventTriggerComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<CaseEventTriggerComponent, "ccd-case-event-trigger", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=case-event-trigger.component.d.ts.map