import { NetworkRecordingOptions } from '../../types/client';
import { RequestResponsePair } from './utils/models';
import { WebSocketEventListenerCallback, WebSocketRequestListenerCallback } from './utils/web-socket-listener';
export type NetworkListenerCallback = (requestResponsePair: RequestResponsePair) => void;
type NetworkListenerArguments = {
    xhrCallback: NetworkListenerCallback;
    fetchCallback: NetworkListenerCallback;
    webSocketRequestCallback: WebSocketRequestListenerCallback;
    webSocketEventCallback: WebSocketEventListenerCallback;
    disableWebSocketRecording: boolean;
    bodyKeysToRedact: string[];
    backendUrl: string;
    tracingOrigins: boolean | (string | RegExp)[];
    urlBlocklist: string[];
    otelEnabled: boolean;
} & Pick<NetworkRecordingOptions, 'bodyKeysToRecord'>;
export declare const NetworkListener: ({ xhrCallback, fetchCallback, webSocketRequestCallback, webSocketEventCallback, disableWebSocketRecording, bodyKeysToRedact, backendUrl, tracingOrigins, urlBlocklist, bodyKeysToRecord, otelEnabled, }: NetworkListenerArguments) => () => void;
export {};
