/** * Main FetchProxy class implementation */ import type { ProxyOptions, ProxyRequestOptions, CircuitState } from "./types"; export declare class FetchProxy { private options; private circuitBreaker; private urlCache; private proxyLogger; constructor(options?: ProxyOptions); proxy(req: Request, source?: string, options?: ProxyRequestOptions): Promise; private executeRequest; private buildTargetURL; private prepareHeaders; private prepareRequestOptions; private addQueryString; getCircuitBreakerState(): CircuitState; getCircuitBreakerFailures(): number; clearURLCache(): void; close(): void; /** * Execute before request hooks */ private executeBeforeRequestHooks; /** * Execute before circuit breaker hooks */ private executeBeforeCircuitBreakerHooks; /** * Execute after circuit breaker hooks */ private executeAfterCircuitBreakerHooks; /** * Execute after response hooks */ private executeAfterResponseHooks; } //# sourceMappingURL=proxy.d.ts.map