///
///
import { Command } from '../../Constants';
import type { ProtocolRequest } from '../ProtocolEvent';
export declare class AddConditionalBreakpointsRequest implements ProtocolRequest {
static fromJson(data: {
requestId: number;
breakpoints: Array<{
filePath: string;
lineNumber: number;
ignoreCount: number;
conditionalExpression?: string;
}>;
}): AddConditionalBreakpointsRequest;
static fromBuffer(buffer: Buffer): AddConditionalBreakpointsRequest;
toBuffer(): Buffer;
success: boolean;
/**
* How many bytes were read by the `fromBuffer` method. Only populated when constructed by `fromBuffer`
*/
readOffset: number;
data: {
breakpoints: {
/**
* The path of the source file where the conditional breakpoint is to be inserted.
*
* "pkg:/" specifies a file in the channel
*
* "lib://" specifies a file in a library.
*/
filePath: string;
/**
* The line number in the channel application code where the breakpoint is to be executed.
*/
lineNumber: number;
/**
* The number of times to ignore the breakpoint condition before executing the breakpoint. This number is decremented each time the channel application reaches the breakpoint. If cond_expr is specified, the ignore_count is only updated if it evaluates to true.
*/
ignoreCount: number;
/**
* BrightScript code that evaluates to a boolean value. The cond_expr is compiled and executed in the context where the breakpoint is located. If cond_expr is specified, the ignore_count is only be updated if this evaluates to true.
*/
conditionalExpression?: string;
}[];
packetLength: number;
requestId: number;
command: Command;
};
}