/**
 * @packageDocumentation
 * @module notification
 */
import { HttpErrorResponse, HttpHandler, HttpInterceptor } from '@angular/common/http';
import { Status } from '../core';
import { NotificationHttpRequest, NotificationUtilService } from './notification-util.service';
import * as i0 from "@angular/core";
export declare const WRITABLE_METHODS: readonly ["delete", "patch", "post", "put"];
export declare type WritableMethod = typeof WRITABLE_METHODS[number];
export interface StatusErrorResponse extends Status {
    __origin__: HttpErrorResponse;
}
export declare class ResourceErrorInterceptor implements HttpInterceptor {
    private readonly notificationUtil;
    constructor(notificationUtil: NotificationUtilService);
    intercept(req: NotificationHttpRequest, next: HttpHandler): import("rxjs").Observable<import("@angular/common/http").HttpEvent<any>>;
    private notifyOnError;
    static ɵfac: i0.ɵɵFactoryDeclaration<ResourceErrorInterceptor, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ResourceErrorInterceptor>;
}
