/// /// import { Command } from '../../Constants'; import type { ProtocolRequest } from '../ProtocolEvent'; export declare class VariablesRequest implements ProtocolRequest { static fromJson(data: { requestId: number; getChildKeys: boolean; enableForceCaseInsensitivity: boolean; getVirtualKeys: boolean; threadIndex: number; stackFrameIndex: number; variablePathEntries: Array<{ name: string; forceCaseInsensitive: boolean; isVirtual: boolean; }>; }): VariablesRequest; static fromBuffer(buffer: Buffer): VariablesRequest; toBuffer(): Buffer; success: boolean; /** * How many bytes were read by the `fromBuffer` method. Only populated when constructed by `fromBuffer` */ readOffset: number; data: { /** * Indicates whether the VARIABLES response includes the child keys for container types like lists and associative arrays. If this is set to true (0x01), the VARIABLES response include the child keys. */ getChildKeys: boolean; /** * Enables the client application to send path_force_case_insensitive data for each variable */ enableForceCaseInsensitivity: boolean; /** * Indicates whether the VARIABLES response should include virtual keys for the requested path */ getVirtualKeys: boolean; /** * Enables the client application to send path_is_virtual data */ includesVirtualPath: boolean; /** * The index of the thread containing the variable. */ threadIndex: number; /** * The index of the frame returned from the STACKTRACE command. * The 0 index contains the first function called; nframes-1 contains the last. * This indexing does not match the order of the frames returned from the STACKTRACE command */ stackFrameIndex: number; /** * A set of one or more path entries to the variable to be inspected. For example, `m.top.myarray[6]` can be accessed with `["m","top","myarray","6"]`. * * If no path is specified, the variables accessible from the specified stack frame are returned. */ variablePathEntries: { name: string; forceCaseInsensitive: boolean; isVirtual?: boolean; }[]; packetLength: number; requestId: number; command: Command; }; } export declare enum VariableRequestFlag { /** * Indicates whether the VARIABLES response includes the child keys for container types like * lists and associative arrays. If this is set to true (0x01), the VARIABLES response include the child keys. */ GetChildKeys = 1, /** * Enables the client application to send path_force_case_insensitive data */ CaseSensitivityOptions = 2, /** * Indicates whether the VARIABLES response should include virtual keys for the requested path */ GetVirtualKeys = 4, /** * Enables the client application to send path_is_virtual data */ VirtualPathIncluded = 8 }