import { RecordingContext } from "../RecordingContext.js"; import { IHTTPRequestEvent, IHTTPRequestEventWithLocalBody, IHTTPResponseEvent, IHTTPResponseEventWithLocalBody, IStaticFile, IStaticFileWithLocalBody } from "../../types/recordables.js"; export declare type WithPersistedBody = Omit & { bodyId?: string; }; export declare class HTTPTransactionQueue { private context; private onEvent; private queue; private inFlight; private consumeDelay; private resolveAwaitPromise; constructor(context: RecordingContext, onEvent: (item: IHTTPRequestEvent | IHTTPResponseEvent | IStaticFile) => void); push(httpTransaction: IHTTPRequestEventWithLocalBody | IHTTPResponseEventWithLocalBody | IStaticFileWithLocalBody): void; await(): Promise; private flush; }