/** Get the session ID for a conversation key. */ export declare function getSession(conversationKey: string): string | undefined; /** Set (upsert) the session ID for a conversation key. */ export declare function setSession(conversationKey: string, sessionId: string): void; /** * Record that the bot itself ran this session (for [teams]/[cli] origin tagging). * Call this only when the bot actually drives a Claude query — not when merely * attaching to a pre-existing (possibly CLI-created) session via #session. */ export declare function recordBotSession(sessionId: string): void; /** Clear the session for a conversation key (forces a fresh session on next message). */ export declare function clearSession(conversationKey: string): void; /** True if this session id was created by the bot (vs. the Claude Code CLI). */ export declare function isBotSession(sessionId: string): boolean;