import { HttpClient, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http"; import { Observable } from "rxjs"; import { ToastController } from "@ionic/angular"; import { ApiUrlProviderService } from "../services/web/api-url-provider.service"; import { GenericService } from "../services/generic.service"; import { AuthService } from "../services/auth.service"; import { Router } from "@angular/router"; import * as i0 from "@angular/core"; export declare class ErrorInterceptor implements HttpInterceptor { private auth; private http; private genericService; private toastController; private apiUrlProviderService; private router; constructor(auth: AuthService, http: HttpClient, genericService: GenericService, toastController: ToastController, apiUrlProviderService: ApiUrlProviderService, router: Router); intercept(req: HttpRequest, next: HttpHandler): Observable>; private localUserKey; private localAdminKey; PresentErrorToast(json: string, request: any, fullError: any): Promise; protected get fullRoute(): string; Report(res: ApiErrorReturn): void; GetInfo(request: any, fullError: any): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ApiErrorReturn { Mensagem: string; Erro: string; _Info: string; } export {};