///
///
import type { StopReason } from '../../Constants';
import { ErrorCode, UpdateType } from '../../Constants';
import type { ProtocolUpdate } from '../ProtocolEvent';
/**
* All threads are stopped and an ALL_THREADS_STOPPED message is sent to the debugging client.
*
* The data field includes information on why the threads were stopped.
*/
export declare class AllThreadsStoppedUpdate implements ProtocolUpdate {
static fromJson(data: {
threadIndex: number;
stopReason: StopReason;
stopReasonDetail: string;
}): AllThreadsStoppedUpdate;
static fromBuffer(buffer: Buffer): AllThreadsStoppedUpdate;
toBuffer(): Buffer;
success: boolean;
/**
* How many bytes were read by the `fromBuffer` method. Only populated when constructed by `fromBuffer`
*/
readOffset: number;
data: {
/**
* The index of the primary thread that triggered the stop
*/
threadIndex: number;
stopReason: StopReason;
stopReasonDetail: string;
packetLength: number;
requestId: number;
errorCode: ErrorCode;
updateType: UpdateType;
};
}