import { HttpClientSupport, HttpMethods } from './http-client'; export declare type RerouteRule = { from: string | RegExp | { url: string | RegExp; method: HttpMethods; }; to: string; }; export declare function withRerouting(this: HttpClientSupport): void | (() => void);