import type { AgentChatMessage, AgentDetails, AgentMetadata } from "../../services/agentService";
import type { AgentSessionContextWindowState } from "./types";
export declare function mergeLoadedAgentTranscript(input: {
    agentData: AgentDetails;
    localMessages: AgentChatMessage[];
    markSeenMessageId?: (messageId: string) => void;
}): {
    merged: AgentChatMessage[];
    isRunning: boolean;
    isWaiting: boolean;
    waitingForApproval: boolean;
    waitingForInput: boolean;
    hasStreaming: boolean;
};
export declare function buildLoadedContextWindowStatus(agentData: AgentDetails): AgentSessionContextWindowState | undefined;
export declare function parseLoadedAgentMetadata(agentData: Pick<AgentDetails, "agentContext">): AgentMetadata | null;
