import type { AgentEvent } from "@earendil-works/pi-agent-core";
import type { ToolHandlerContext } from "./pi-embedded-subscribe.handlers.types.js";
export declare function handleToolExecutionStart(ctx: ToolHandlerContext, evt: AgentEvent & {
    toolName: string;
    toolCallId: string;
    args: unknown;
}): Promise<void> | undefined;
export declare function handleToolExecutionUpdate(ctx: ToolHandlerContext, evt: AgentEvent & {
    toolName: string;
    toolCallId: string;
    partialResult?: unknown;
}): void;
export declare function handleToolExecutionEnd(ctx: ToolHandlerContext, evt: AgentEvent & {
    toolName: string;
    toolCallId: string;
    isError: boolean;
    result?: unknown;
}): Promise<void>;
