import { HttpInterceptor, HttpEvent, HttpHandler, HttpRequest } from '@angular/common/http';
import { Observable } from 'rxjs';
import { NgProgress } from 'ngx-progressbar';
import { NgProgressHttpConfig } from './ng-progress-http.interface';
import * as i0 from "@angular/core";
export declare class NgProgressInterceptor implements HttpInterceptor {
    protected ngProgress: NgProgress;
    private _inProgressCount;
    private _progressRef;
    private readonly _config;
    constructor(ngProgress: NgProgress, config?: NgProgressHttpConfig);
    intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
    /**
     * Check if request is silent.
     * @param req request
     */
    private checkUrl;
    static ɵfac: i0.ɵɵFactoryDeclaration<NgProgressInterceptor, [null, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<NgProgressInterceptor>;
}
