import { ActivatedRouteSnapshot, Resolve, Router } from '@angular/router';
import { CaseView } from '../../../domain';
import { CaseService, CasesService } from '../../case-editor';
import { AlertService, DraftService } from '../../../services';
export declare class CaseResolver implements Resolve<CaseView> {
    private caseService;
    private casesService;
    private draftService;
    private router;
    private alertService;
    static readonly EVENT_REGEX: RegExp;
    static readonly PARAM_CASE_ID = "cid";
    static readonly CASE_CREATED_MSG = "The case has been created successfully";
    cachedCaseView: CaseView;
    previousUrl: string;
    constructor(caseService: CaseService, casesService: CasesService, draftService: DraftService, router: Router, alertService: AlertService);
    resolve(route: ActivatedRouteSnapshot): Promise<CaseView>;
    private navigateToCaseList;
    private isRootCaseViewRoute;
    private isTabViewRoute;
    private getAndCacheCaseView;
    private getAndCacheDraft;
    private checkAuthorizationError;
}
