import { c as SessionScope, s as SessionEntry } from "./types-DT1z1ByP.js";
import { S as resolveStorePath, _ as loadSessionStore$1, a as resolveGroupSessionKey, b as resolveSessionTranscriptPathInDir, c as patchSessionEntry, d as saveSessionStore, f as updateLastRoute, g as resolveSessionStoreEntry, h as upsertSessionEntry, i as canonicalizeMainSessionAlias, l as readSessionUpdatedAt, m as updateSessionStoreEntry, n as readLatestAssistantTextFromSessionTranscript, o as getSessionEntry, p as updateSessionStore, r as resolveSessionKey, s as listSessionEntries, t as resolveAndPersistSessionFile, u as recordSessionMetaFromInbound, v as clearSessionStoreCacheForTest, y as resolveSessionFilePath } from "./session-file-C4Sxw-jz.js";
import { a as evaluateSessionFreshness, n as resolveSessionResetType, o as resolveSessionResetPolicy, r as resolveThreadFlag, t as resolveChannelResetConfig } from "./reset-C_RNz-iz.js";

//#region src/plugin-sdk/session-store-runtime.d.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.
 */
declare const loadSessionStore: typeof loadSessionStore$1;
//#endregion
export { type SessionEntry, type SessionScope, 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 };