/// /// import type { ProtocolRequest } from '../ProtocolEvent'; import type { Command } from '../../Constants'; /** * The initial handshake sent by the client. This is just the `magic` to initiate the debug protocol session * @since protocol v1.0.0 */ export declare class HandshakeRequest implements ProtocolRequest { /** * A hardcoded id for the handshake classes to help them flow through the request/response flow even though Handshake events don't look the same as other protocol events */ static REQUEST_ID: number; static fromJson(data: { magic: string; }): HandshakeRequest; static fromBuffer(buffer: Buffer): HandshakeRequest; toBuffer(): Buffer; success: boolean; readOffset: any; data: { magic: string; packetLength: number; requestId: number; command: Command; }; }