import type { AgentEvent, AgentTool, AgentToolContext } from "@oh-my-pi/pi-agent-core"; import type { CursorMcpCall, CursorShellStreamCallbacks, CursorExecHandlers as ICursorExecHandlers, ToolResultMessage } from "@oh-my-pi/pi-ai"; interface CursorExecBridgeOptions { cwd: string; tools: Map; getToolContext?: () => AgentToolContext | undefined; emitEvent?: (event: AgentEvent) => void; } export declare class CursorExecHandlers implements ICursorExecHandlers { private options; constructor(options: CursorExecBridgeOptions); read(args: Parameters>[0]): Promise>; ls(args: Parameters>[0]): Promise>; grep(args: Parameters>[0]): Promise>; write(args: Parameters>[0]): Promise>; delete(args: Parameters>[0]): Promise>; shell(args: Parameters>[0]): Promise>; shellStream(args: Parameters>[0], callbacks: CursorShellStreamCallbacks): Promise>; diagnostics(args: Parameters>[0]): Promise>; mcp(call: CursorMcpCall): Promise>; } export {};