import { type MutableRefObject } from "react";
import type { AgentChatMessage, AgentDetails, AgentStreamMessage } from "../../services/agentService";
import type { useAgentSession } from "./useAgentSession";
type AgentSessionActions = ReturnType<typeof useAgentSession>["actions"];
export declare function useAgentContentChunkHandler(input: {
    agent: AgentDetails | undefined;
    actions: AgentSessionActions;
    messagesRef: MutableRefObject<AgentChatMessage[]>;
    isWaitingRef: MutableRefObject<boolean>;
    shouldCreateNewMessageRef: MutableRefObject<boolean>;
    setIsWaitingForResponse: (isWaitingForResponse: boolean) => void;
    setIsAgentThinking: (isAgentThinking: boolean) => void;
    createNewStreamMessage: (messageId: string, agentData?: AgentDetails) => AgentChatMessage;
}): (message: AgentStreamMessage, agentData?: AgentDetails) => void;
export {};
