import { t as Interceptor } from "./interceptor-dtJZ_9QT.js"; import { t as BatchInterceptor } from "./batch-interceptor-CPjFK2td.js"; import { n as HttpRequestEventMap } from "./http-CB9rQ7i_.js"; import { ClientRequestInterceptor } from "./interceptors/ClientRequest/index.js"; import { XMLHttpRequestInterceptor } from "./interceptors/XMLHttpRequest/node.js"; import { FetchInterceptor } from "./interceptors/fetch/node.js"; import { ChildProcess } from "node:child_process"; //#region src/remote-http-interceptor.d.ts interface SerializedRequest { id: string; url: string; method: string; headers: Array<[string, string]>; credentials: RequestCredentials; body: string | null; } interface SerializedResponse { status: number; statusText: string; headers: Array<[string, string]>; body: string | null; } declare class RemoteHttpInterceptor extends BatchInterceptor<[ClientRequestInterceptor, XMLHttpRequestInterceptor, FetchInterceptor]> { constructor(); protected setup(): void; } declare function requestReviver(key: string, value: any): any; interface RemoveResolverOptions { process: ChildProcess; } declare class RemoteHttpResolver extends Interceptor { static symbol: symbol; private process; constructor(options: RemoveResolverOptions); protected predicate(): boolean; protected setup(): void; } //#endregion export { RemoteHttpInterceptor, RemoteHttpResolver, RemoveResolverOptions, SerializedRequest, SerializedResponse, requestReviver }; //# sourceMappingURL=remote-http-interceptor.d.ts.map