import { t as canonicalizeMainSessionAlias } from "../main-session-BxJmPEXx.js";
import { i as resolveSessionFilePath, s as resolveSessionTranscriptPathInDir, u as resolveStorePath } from "../paths-BjeoF0lG.js";
import { t as loadSessionStore$1, z as resolveSessionStoreEntry } from "../store-load-Db2y5VFp.js";
import { a as patchSessionEntry, d as updateSessionStore, f as updateSessionStoreEntry, i as listSessionEntries, l as saveSessionStore, m as clearSessionStoreCacheForTest, o as readSessionUpdatedAt, p as upsertSessionEntry, r as getSessionEntry, s as recordSessionMetaFromInbound, u as updateLastRoute } from "../store-0X8RDHcr.js";
import { n as resolveGroupSessionKey } from "../group-4mLsO0zD.js";
import { c as resolveSessionResetPolicy, i as resolveThreadFlag, n as resolveChannelResetConfig, o as evaluateSessionFreshness, r as resolveSessionResetType } from "../reset-DFHQ3OJz.js";
import { n as resolveSessionKey } from "../session-key-Ds4nZaYX.js";
import { d as resolveAndPersistSessionFile, r as readLatestAssistantTextFromSessionTranscript } from "../transcript-DHVget1f.js";
//#region src/plugin-sdk/session-store-runtime.ts
/**
* @deprecated Use getSessionEntry/listSessionEntries for reads and
* patchSessionEntry/upsertSessionEntry for writes. loadSessionStore keeps the
* legacy mutable whole-store shape and will remain a compatibility escape hatch.
*/
const loadSessionStore = loadSessionStore$1;
//#endregion
export { canonicalizeMainSessionAlias, clearSessionStoreCacheForTest, evaluateSessionFreshness, getSessionEntry, listSessionEntries, loadSessionStore, patchSessionEntry, readLatestAssistantTextFromSessionTranscript, readSessionUpdatedAt, recordSessionMetaFromInbound, resolveAndPersistSessionFile, resolveChannelResetConfig, resolveGroupSessionKey, resolveSessionFilePath, resolveSessionKey, resolveSessionResetPolicy, resolveSessionResetType, resolveSessionStoreEntry, resolveSessionTranscriptPathInDir, resolveStorePath, resolveThreadFlag, saveSessionStore, updateLastRoute, updateSessionStore, updateSessionStoreEntry, upsertSessionEntry };
