export declare const END_SESSION_UNDO_MS = 5000; interface PendingEntry { conversationId: string; timer: ReturnType; execute: () => Promise | void; } interface PendingSessionCloseStore { pendingIds: Record; /** Returns false when this session already has a close pending. */ schedule: (sessionId: string, conversationId: string, execute: PendingEntry["execute"]) => boolean; cancel: (sessionId: string) => boolean; flush: (sessionId: string) => void; flushConversation: (conversationId: string) => void; flushAll: () => void; } /** Defers the close API call so the agent can undo within the grace period. */ declare const usePendingSessionCloseStore: import("zustand").UseBoundStore>; export default usePendingSessionCloseStore; //# sourceMappingURL=pendingSessionClose.d.ts.map