import { type MutableRefObject } from "react";
import type { AgentChatMessage, AgentDetails } from "../../services/agentService";
import type { AgentStreamMessage } from "../../services/agentService";
import type { useAgentSession } from "./useAgentSession";
type AgentSessionActions = ReturnType<typeof useAgentSession>["actions"];
export declare function useAgentHeartbeatMessages(input: {
    agent: AgentDetails | undefined;
    agentStubId: string;
    actions: AgentSessionActions;
    messagesRef: MutableRefObject<AgentChatMessage[]>;
}): {
    stripHeartbeatMessages: (list: AgentChatMessage[]) => AgentChatMessage[];
    handleHeartbeatMessage: (message: AgentStreamMessage) => void;
    clearHeartbeatMessages: () => void;
};
export {};
