/// /// import type { ProtocolResponse } from '../ProtocolEvent'; import { ErrorCode } from '../../Constants'; export declare class HandshakeResponse implements ProtocolResponse { static fromJson(data: { magic: string; protocolVersion: string; }): HandshakeResponse; static fromBuffer(buffer: Buffer): HandshakeResponse; toBuffer(): Buffer; success: boolean; readOffset: number; data: { /** * The Roku Brightscript debug protocol identifier, which is the following 64-bit value :0x0067756265647362LU. * * This is equal to 29120988069524322LU or the following little-endian value: b'bsdebug\0. */ magic: string; /** * A semantic version string (i.e. `2.0.0`) */ protocolVersion: string; packetLength: number; requestId: number; errorCode: ErrorCode; }; }