import { DialogService } from '@alauda/ui';
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot, CanDeactivate, RouterStateSnapshot } from '@angular/router';
import { TranslateService } from '../../translate/translate.service';
import * as i0 from "@angular/core";
export declare class EditPageLeaveGuardService implements CanDeactivate<Component> {
    private readonly dialogService;
    private readonly translate;
    constructor(dialogService: DialogService, translate: TranslateService);
    canDeactivate(_: Component, _ars: ActivatedRouteSnapshot, _rss: RouterStateSnapshot, nextState?: RouterStateSnapshot): import("rxjs").Observable<boolean>;
    static ɵfac: i0.ɵɵFactoryDeclaration<EditPageLeaveGuardService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<EditPageLeaveGuardService>;
}
