/**
 * @file Setup recording of WebSocket traffic
 * @author Robert Riemann <robert.riemann@edps.europa.eu>
 * @copyright European Data Protection Supervisor (2019)
 * @license EUPL-1.2
 */
import { Logger } from "winston";
interface WebSocketLogEntry {
    timestamp: Date;
    url: string;
    messages: WebSocketMessage[];
}
interface WebSocketMessage {
    timestamp: number;
    io: "in" | "out";
    m: any[];
}
interface WebSocketLog {
    [requestId: string]: WebSocketLogEntry;
}
export declare function setup_websocket_recording(page: any, logger: Logger): WebSocketLog;
export {};
