import { RecordingContext } from "../recorder/RecordingContext.js"; import { IInterceptor } from "../types/interceptor.js"; import { IHTTPRequestEventWithLocalBody, IHTTPResponseEventWithLocalBody } from "../types/recordables.js"; export declare class FetchInterceptor implements IInterceptor { private onEvent; private context; private active; constructor(onEvent: (event: IHTTPRequestEventWithLocalBody | IHTTPResponseEventWithLocalBody) => void, context: RecordingContext); start(): void; stop(): void; private hook; private fetchImplementation; private createRequestEventPayload; private createResponseEventPayload; private generateRequestId; private uuidv4; private extractHeaders; }