import type { AgentChatMessage, AgentDetails } from "../../services/agentService";
import type { AgentSessionActiveInlineDialog, AgentSessionState } from "./types";
export declare function useAgentTerminalViewState(input: {
    agent: AgentDetails | undefined;
    agentStub: {
        profileId?: string;
        parentAgentId?: string;
        ParentAgentId?: string;
    };
    messages: AgentChatMessage[];
    error: string | null;
    hideGreeting: boolean;
    isSubmitting: boolean;
    isConnecting: boolean;
    activeInlineDialog: AgentSessionActiveInlineDialog | null;
    allPendingApprovalsCount: number;
    isAgentThinking: boolean;
    isExecuting: boolean;
    isWaitingForResponse: boolean;
    sessionCostLimitExceeded: unknown;
    isLoading: boolean;
    sessionState: AgentSessionState;
}): {
    showInitialThinkingSplash: boolean;
    shouldShowThinkingDots: boolean;
    parentAgentId: any;
    handleBackToParent: () => void;
    shouldShowLoadingContent: boolean;
    hasSpawnedAgents: boolean;
    hasTodoContent: boolean;
    hasHistoryContent: boolean;
};
