import { Duplex } from "stream";
import { Serialized } from "../serialization/serialization";
import type { RuleParameters } from "./rule-parameters";
import type { RequestRuleData } from "./requests/request-rule";
import type { WebSocketRuleData } from "./websockets/websocket-rule";
export declare function deserializeRuleData(data: Serialized<RequestRuleData>, stream: Duplex, ruleParameters: RuleParameters): RequestRuleData;
export declare function deserializeWebSocketRuleData(data: Serialized<WebSocketRuleData>, stream: Duplex, ruleParameters: RuleParameters): WebSocketRuleData;
//# sourceMappingURL=rule-deserialization.d.ts.map