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