import { ElementRef, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { GlobalErrorHandler } from '@schoolbelle/api/schoolbelle'; import { LoadingService } from '@schoolbelle/common/loading'; import { LocationService } from '@schoolbelle/common/location'; import { TranslationService } from '@schoolbelle/common/translation'; import { ToastrService } from 'ngx-toastr'; export declare class ErrorComponent implements OnInit { protected route: ActivatedRoute; protected router: Router; protected location: LocationService; protected globalErrorHandler: GlobalErrorHandler; protected loading: LoadingService; protected toastr: ToastrService; protected elementRef: ElementRef; protected translation: TranslationService; status: number; message: string; alreadySent: boolean; error: Error; constructor(route: ActivatedRoute, router: Router, location: LocationService, globalErrorHandler: GlobalErrorHandler, loading: LoadingService, toastr: ToastrService, elementRef: ElementRef, translation: TranslationService); ngOnInit(): void; getMessage(status: number): string; retry(): void; goBack(): void; send(): void; ngAfterViewInit(): void; }