import { Observable } from 'rxjs'; export interface CanDeactivateComponent { canDeactivate: () => Observable | Promise | boolean; }