import { Provider, ModuleWithProviders, InjectionToken } from '@angular/core';
import { Http, XHRBackend, RequestOptions } from '@angular/http';
import { Interceptor } from './interfaces';
export declare const INTERCEPTORS: InjectionToken<Interceptor>;
export declare class InterceptorModule {
    static withInterceptors(interceptorTypes: Provider[]): ModuleWithProviders;
}
export declare function httpFactory(httpInterceptors: Interceptor[], connectionBackend: XHRBackend, requestOptions: RequestOptions): Http;
