openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
16 lines (15 loc) • 450 B
TypeScript
import type { SessionEntry } from "./types.js";
export declare function resolveAndPersistSessionFile(params: {
sessionId: string;
sessionKey: string;
sessionStore: Record<string, SessionEntry>;
storePath: string;
sessionEntry?: SessionEntry;
agentId?: string;
sessionsDir?: string;
fallbackSessionFile?: string;
activeSessionKey?: string;
}): Promise<{
sessionFile: string;
sessionEntry: SessionEntry;
}>;