import type { SessionManager } from "../../session/session-manager.js"; /** Where a conversation stood when input was submitted: its session and the branch leaf. */ export interface ConversationPosition { sessionId: string; leafId: string | null; } export declare function conversationPosition(sessionManager: Pick): ConversationPosition; /** * Whether the session still holds the conversation at `position`, continued from that point. A session * switch or tree navigation, both of which may reuse the same `AgentSession`, fails it. */ export declare function continuesConversation(sessionManager: Pick, position: ConversationPosition): boolean;