import { type MutableRefObject } from "react";
import type { AgentChatMessage } from "../../services/agentService";
import type { useAgentSession } from "./useAgentSession";
type AgentSessionActions = ReturnType<typeof useAgentSession>["actions"];
export declare function useAgentToolApprovalResolvedEvents(input: {
    agentIdRef: MutableRefObject<string | null>;
    agentStubIdRef: MutableRefObject<string>;
    messagesRef: MutableRefObject<AgentChatMessage[]>;
    actions: AgentSessionActions;
    isWaitingRef: MutableRefObject<boolean>;
    setIsWaitingForResponse: (isWaitingForResponse: boolean) => void;
    setIsAgentThinking: (isAgentThinking: boolean) => void;
}): void;
export {};
