/// /// import { ErrorCode } from '../../Constants'; import type { ProtocolResponse } from '../ProtocolEvent'; export declare class ListBreakpointsResponse implements ProtocolResponse { static fromJson(data: { requestId: number; breakpoints: BreakpointInfo[]; }): ListBreakpointsResponse; static fromBuffer(buffer: Buffer): ListBreakpointsResponse; toBuffer(): Buffer; success: boolean; readOffset: number; data: { breakpoints: BreakpointInfo[]; packetLength: number; requestId: number; errorCode: ErrorCode; }; } export interface BreakpointInfo { /** * The ID assigned to the breakpoint. An ID greater than 0 indicates an active breakpoint. An ID of 0 denotes that the breakpoint has an error. */ id: number; /** * Indicates whether the breakpoint was successfully returned. This may be one of the following values: * - `0` (`'OK'`) - The breakpoint_id is valid. * - `5` (`'INVALID_ARGS'`) - The breakpoint could not be returned. */ errorCode: number; /** * Current state, decreases as breakpoint is executed. This argument is only present if the breakpoint_id is valid. */ ignoreCount: number; }