import type { AgentChatMessage, AgentDetails } from "../../services/agentService";
import type { AiProfile } from "../../services/aiService";
import type { AgentSessionActiveInlineDialog, AgentSessionState } from "./types";
export declare function useAgentTerminalViewState(input: {
    agent: AgentDetails | undefined;
    agentStub: {
        profileId?: string;
        parentAgentId?: string;
        ParentAgentId?: string;
    };
    activeProfile: AiProfile | undefined;
    profiles: AiProfile[];
    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;
    resolvedEditorContextMode: "none" | "onCreate" | "live" | null;
    isLiveEditorContextMode: boolean;
    omitsEditorContext: boolean;
    parentAgentId: any;
    handleBackToParent: () => void;
    shouldShowLoadingContent: boolean;
    hasSpawnedAgents: boolean;
    hasTodoContent: boolean;
    hasHistoryContent: boolean;
};
