mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-19 13:04:39 +08:00
Drive-by: fixing the presubmit Fixed: 343248814 Change-Id: I3ec86edbe2ce3d6e7b6a310827b5b5fb0b09c626 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5720898 Commit-Queue: Alex Rudenko <alexrudenko@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org>
10 lines
670 B
TypeScript
10 lines
670 B
TypeScript
import { encodePacket } from "./encodePacket.js";
|
|
import { decodePacket } from "./decodePacket.js";
|
|
import { Packet, PacketType, RawData, BinaryType } from "./commons.js";
|
|
declare const encodePayload: (packets: Packet[], callback: (encodedPayload: string) => void) => void;
|
|
declare const decodePayload: (encodedPayload: string, binaryType?: BinaryType) => Packet[];
|
|
export declare function createPacketEncoderStream(): any;
|
|
export declare function createPacketDecoderStream(maxPayload: number, binaryType: BinaryType): any;
|
|
export declare const protocol = 4;
|
|
export { encodePacket, encodePayload, decodePacket, decodePayload, Packet, PacketType, RawData, BinaryType, };
|