import { z } from "zod"; import type { AgentTool } from "@kenkaiiii/gg-agent"; import { NodeDebugSession } from "../core/node-debugger.js"; import type { SandboxPolicy } from "../core/sandbox.js"; import { type ToolOperations } from "./operations.js"; declare const DebugParams: z.ZodObject<{ action: z.ZodEnum<{ output: "output"; pause: "pause"; stop: "stop"; stack: "stack"; continue: "continue"; step_over: "step_over"; step_into: "step_into"; step_out: "step_out"; launch: "launch"; set_breakpoint: "set_breakpoint"; remove_breakpoint: "remove_breakpoint"; variables: "variables"; evaluate: "evaluate"; }>; program: z.ZodOptional; args: z.ZodOptional>; node_args: z.ZodOptional>; breakpoints: z.ZodOptional; }, z.core.$strip>>>; stop_on_entry: z.ZodOptional; pause_on_exceptions: z.ZodOptional>; file: z.ZodOptional; line: z.ZodOptional; condition: z.ZodOptional; breakpoint_id: z.ZodOptional; frame: z.ZodOptional; expression: z.ZodOptional; timeout_ms: z.ZodOptional; }, z.core.$strip>; /** Holds the one live debug session of an agent session; `shutdown` on dispose. */ export declare class DebugManager { private session; get current(): NodeDebugSession | undefined; replace(next: NodeDebugSession | undefined): boolean; shutdown(): void; } export declare function createDebugTool(cwd: string, manager: DebugManager, ops?: ToolOperations, planModeRef?: { current: boolean; }, getSandboxPolicy?: () => SandboxPolicy): AgentTool; export {};