import { ModuleWithProviders, Injector, InjectionToken, Provider } from '@angular/core'; import { HttpHandler } from '@angular/common/http'; import { InternalHttpService } from './actions/http.mixin'; import { BgxHttpService, IBgxHttpInterceptorConfig } from './interceptors/http.service'; export declare const HTTP_CONFIG: InjectionToken; export interface IHttpConfig { interceptors: IBgxHttpInterceptorConfig[]; } export declare function httpFactory(handler: HttpHandler, injector: Injector, config: IHttpConfig): BgxHttpService; export declare const HTTP_INTERCEPTOR_PROVIDER: Provider; export declare class BgxHttpModule { private _internalHttpService; constructor(_internalHttpService: InternalHttpService); static forRoot(config?: IHttpConfig): ModuleWithProviders; }