import { WebSocketEvent, WebSocketRequest } from './models';
export type WebSocketRequestListenerCallback = (event: WebSocketRequest) => void;
export type WebSocketEventListenerCallback = (event: WebSocketEvent) => void;
export type HighlightWebSocketWindow = Window & {
    /**
     * Callback for web socket open and close events that are displayed in the network requests
     */
    _highlightWebSocketRequestCallback: WebSocketRequestListenerCallback;
    /**
     * Callback for web socket message and error events that are displayed under the websocket requests
     */
    _highlightWebSocketEventCallback: WebSocketEventListenerCallback;
    WebSocket: any;
};
declare const WebSocketListener: (requestCallback: WebSocketRequestListenerCallback, eventCallback: WebSocketEventListenerCallback, urlBlocklist: string[]) => () => void;
export { WebSocketListener };
