import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';
import { Observable } from 'rxjs';
import { NotificationService } from '../core/services/notification.service';
import * as i0 from "@angular/core";
/**
 * Intercepts HTTP requests and handles errors centrally.
 */
export declare class HttpErrorInterceptor implements HttpInterceptor {
    private notification;
    constructor(notification: NotificationService);
    intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorInterceptor, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<HttpErrorInterceptor>;
}
