/** * How long the assistant may sit unused before the next open counts as a new session. * @internal */ export declare const CONVERSATION_SESSION_TIMEOUT_MS: number; /** * Whether the next open should start a fresh conversation instead of resuming the last one. * A missing timestamp keeps the previous resume behaviour. * @internal */ export declare function isConversationSessionStale(workspaceId: string, now?: number): boolean; /** * @internal */ export declare function touchConversationSession(workspaceId: string, now?: number): void; /** Refresh the session timer on assistant interaction (not on open). @internal */ export declare function onConversationActivity(): Generator; /** Read staleness and refresh the timer on open. Only one open path calls this per opening. @internal */ export declare function consumeStaleConversationSession(): Generator; //# sourceMappingURL=conversationSession.d.ts.map