/** * Condition execution helper for the interpreter. * * Handles executing condition statements with proper inCondition state management. * Used by if, while, and until loops. */ import type { StatementNode } from "../../ast/types.js"; import type { InterpreterContext } from "../types.js"; export interface ConditionResult { stdout: string; stderr: string; exitCode: number; } /** * Execute condition statements with inCondition flag set. * This prevents errexit from triggering during condition evaluation. * * @param ctx - Interpreter context * @param statements - Condition statements to execute * @returns Accumulated stdout, stderr, and final exit code */ export declare function executeCondition(ctx: InterpreterContext, statements: StatementNode[]): Promise;