import WebSocket from "ws"; import { NetworkBuffer } from "./network.js"; export declare const REQUEST_BODY_CAP: number; export declare const RESPONSE_BODY_CAP: number; export declare function getInterceptorScript(): string; export declare function buildMockPushScript(rulesJson: string): string; export declare function pushMockRules(ws: WebSocket, rulesJson: string): void; export declare function injectNetworkInterceptor(ws: WebSocket): void; export declare function sendNetworkEnable(ws: WebSocket): number; export declare function isInterceptorEvent(args: Array<{ type?: string; value?: unknown; }>): string | null; export declare function isMockEvent(jsonStr: string): boolean; export declare function isMockedTrafficEvent(jsonStr: string): boolean; export declare function applyInterceptedEvent(jsonStr: string, networkBuffer: NetworkBuffer, deviceName: string): void; //# sourceMappingURL=networkInterceptor.d.ts.map