import type { StatementNode } from "../../ast/types.js";
import type { InterpreterState } from "../types.js";
/**
 * Debugger Bridge for Ag-Bash.
 *
 * Provides interactive execution control for shell scripts.
 */
export declare class DebuggerBridge {
    private breakpoints;
    private paused;
    private stepRequested;
    /**
     * Registers a breakpoint at a specific line.
     */
    setBreakpoint(line: number): void;
    /**
     * Removes a breakpoint.
     */
    clearBreakpoint(line: number): void;
    /**
     * Called by the interpreter at each statement boundary.
     * If a breakpoint is hit or a step is active, pauses execution.
     */
    onBeforeStatement(node: StatementNode, _state: InterpreterState): Promise<void>;
    /**
     * Resumes execution until the next breakpoint.
     */
    continue(): void;
    /**
     * Executes only the next statement.
     */
    step(): void;
    /**
     * Internal loop to block execution while paused.
     */
    private waitForResume;
    /**
     * Returns current execution context for inspection.
     */
    getInspectState(state: InterpreterState): any;
}
